Implement I2C

This commit is contained in:
AlexanderHD27
2025-01-03 19:54:13 +01:00
parent bac01e3a9b
commit aa9d00bf6e
29 changed files with 1467 additions and 419 deletions

View File

@@ -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