Where is the function 'i2c_set_bitrate' defined?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Where is the function 'i2c_set_bitrate' defined?

849 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by coolriza on Mon Sep 07 02:01:48 MST 2015
Hello.

I'm now analyzing source codes of NXP Quick Jack solution (LPC812M is employed for evaluation board).

And I'm curious about function body of 'i2c_set_bitrate'.

I can find the declaration of function 'i2c_set_bit' in rom_i2c_8xx.h, but I can't find a function body of 'i2c_set_bitrate' anywhere.

Could you give me an advice?

Thanks.
标签 (1)
0 项奖励
回复
1 回复

830 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embd02161991 on Wed Sep 09 09:02:36 MST 2015
Hi,

'i2c_set_bitrate' is an API call to the ROM that configures the I2C duty-cycle registers (SCLH and SCLL). Hence the source of the function call is not present in the examples.

Thanks
NXP Technical Support
0 项奖励
回复