finish command

This commit is contained in:
2025-08-12 19:56:56 +08:00
parent 9b3d19cffa
commit 05cebe979d
5 changed files with 215 additions and 67 deletions

View File

@@ -6,6 +6,21 @@
// #define RS485_MAX13487 //RS485 PHY : MAX13487 (AutoDir)
#undef RS485_MAX13487 //RS485 PHY : SP3487 (no AutoDir)
/* >>>>>>>>>>>>>>>>>>>>[IIC TYPE DEFINE]<<<<<<<<<<<<<<<<<<<< */
// #define SOFTWARE_IIC //IIC Type : Software IIC
#undef SOFTWARE_IIC //IIC Type : Hardware IIC
/******************************************************************************/
#define RCU_GPIO_I2C RCU_GPIOF
#define RCU_I2C RCU_I2C0
#define I2C_SCL_PORT GPIOF
#define I2C_SCL_PIN GPIO_PIN_1
#define I2C_SDA_PORT GPIOF
#define I2C_SDA_PIN GPIO_PIN_0
#define I2C_GPIO_AF GPIO_AF_1
/******************************************************************************/
#define LED_PORT GPIOA