最新代码
This commit is contained in:
@ -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, //是否打开滤波器(去纹波)
|
||||
|
||||
Reference in New Issue
Block a user