请问,我要设置CC2541 硬件IIC通信数据传输速率(比特率)设为400-kps的,应该怎么设置?通过哪个函数/参数设置?
typedef enum
{
i2cClock_123KHZ = 0x00,
i2cClock_144KHZ = 0x01,
i2cClock_165KHZ = 0x02,
i2cClock_197KHZ = 0x03,
i2cClock_33KHZ = 0x80,
i2cClock_267KHZ = 0x81,
i2cClock_533KHZ = 0x82
} i2cClock_t;
【这个是IIC时钟配置,请问,硬件IIC时钟 和 硬件IIC数据传输速率400kbps有何关系?】
The I2C module features include:
• Compliance with the I2C specifica
tion v2.1 (published by Philips Semiconductor)
• 7-bit device addressing modes
• General call
• START/RESTART/STOP
• Multi-master transmitter/receiver mode
• Slave receiver/transmitter mode
• Standard mode up to 100-kbps and fast mode up to 400-kbps support