Implement I2C
This commit is contained in:
@@ -3,4 +3,17 @@
|
||||
#define GOBOTRPC_CI_UART_RX 0
|
||||
#define GOBOTRPC_CI_UART_TX 1
|
||||
|
||||
#define GOBOTRPC_HEARTBEAT_INTERVAL 3000
|
||||
#define GOBOTRPC_TI_I2C_SDA 4
|
||||
#define GOBOTRPC_TI_I2C_SCL 5
|
||||
#define GOBOTRPC_TI_CLOCK_SPEED 10000
|
||||
|
||||
#define GOBOTRPC_TI_INT_PIN_START 10
|
||||
#define GOBOTRPC_TI_INT_NUM 4
|
||||
#define GOBOTRPC_TI_COMBINED_INT_PIN 2
|
||||
|
||||
#define GOBOTRPC_TI_EXTERNAL_PULLUP 0
|
||||
|
||||
#define GOBOTRPC_HEARTBEAT_INTERVAL 3000
|
||||
|
||||
#define UART_CORE_MASK 0b01
|
||||
#define I2C_CORE_MASK 0b10
|
||||
Reference in New Issue
Block a user