Files
gobot/i2c-hub/firmware/i2c-hub-firmware/src/gobotrpc/include/pinConfig.hpp
AlexanderHD27 aa9d00bf6e Implement I2C
2025-01-03 19:54:13 +01:00

19 lines
417 B
C++

#pragma once
#define GOBOTRPC_CI_UART_RX 0
#define GOBOTRPC_CI_UART_TX 1
#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