2 years ago.

where can i get the definition of this APIs ?


I traversing the i2c_master code for nucleo-l476rg. https://os.mbed.com/compiler/#nav:/Nucleo_i2c_master/main.cpp;

I didn't get the definitions of i2c_write at line 66, i2c_byte_write at line 74


Can you please tell where can i see the definitions of that APIs.

Thanks and Regards, R Madhu

Comment on this question

1 Answer

2 years ago.

Those are instantiated in the target code under the i2c_api.cpp. So look under your target path from the source on GitHub https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_STM/i2c_api.c

You need to log in to post a question