Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 7 months ago.
where can i get the definition of this APIs ?
Hi,
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
https://os.mbed.com/users/mbed_official/code/mbed-dev/docs/tip/I2C_8cpp_source.html
Can you please tell where can i see the definitions of that APIs.
Thanks and Regards, R Madhu
1 Answer
6 years, 7 months 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