Where is the function 'i2c_set_bitrate' defined?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Where is the function 'i2c_set_bitrate' defined?

866件の閲覧回数
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 返信

847件の閲覧回数
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 件の賞賛
返信