You can make use of i2c_start, i2c_send, i2c_read, i2c_stop, i2c_restart functions, etc. The implementation of the i2c communications. This module implements the communications middleware interface.
Driver for the sci peripheral on ra mcus. This module implements the i2c master interface. Interface for i2c master communication.
This module implements the i2c master interface. Once the i 2 c adapter mechanism is enabled, the developer can use all the available apis for performing i 2 c transactions. The following steps describe the required sequence of apis in. The iica master on iica hal module supports transactions with an iica slave device.
The i2c master interface provides a common api for i2c hal drivers. Driver for the iica peripheral on ra mcus. These settings will be applied when an application task attempts to interact with the target i 2. In platform_devices.c file, add io bus as well as driver configurations for the i 2 c device (s) used.
Upon completion of this guide, you will be able to add this module to your own design, configure it correctly for the target application and write code, using the included. Middleware to implement the i2c communications interface. The simple i2c master on sci hal module supports transactions with an i2c slave device.