Where is the function 'i2c_set_bitrate' defined?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where is the function 'i2c_set_bitrate' defined?

353 Views
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.
Labels (1)
0 Kudos
1 Reply

334 Views
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 Kudos