最新代码

This commit is contained in:
lmx
2025-11-13 09:50:42 +08:00
parent c88cb70bb1
commit 5e587e0527
29 changed files with 166924 additions and 166812 deletions

View File

@ -521,7 +521,8 @@ const struct hw_iic_config hw_iic_cfg[] = {
{IO_PORTA_05, IO_PORTA_06}, //group d
*/
// .port = TCFG_HW_I2C0_PORTS,
.port = {IO_PORTC_04,IO_PORTC_05}, // portB: scl、sda
// .port = {IO_PORTC_04,IO_PORTC_05}, // portB: scl、sda
.port = {IO_PORTB_04,IO_PORTB_05}, // portA: scl、sda
.baudrate = TCFG_HW_I2C0_CLK, //IIC通讯波特率
.hdrive = 0, //是否打开IO口强驱
.io_filter = 1, //是否打开滤波器(去纹波)