|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Configuration descriptor for ra8_i2c_peripheral_init. More...
#include <ra8_i2c.h>
Data Fields | |
| uint8_t | own_addr_7b |
| 7-bit own address to answer on. | |
| ra8_i2c_peripheral_slot_t | slot |
| Own-address comparator slot. | |
| bool | general_call |
| Also answer the general-call addr. | |
| bool | clock_stretch |
| Arm ICMR3.WAIT clock stretching. | |
| bool | irq_enable |
| Arm ICIER RIE / TIE / SPIE. | |
Configuration descriptor for ra8_i2c_peripheral_init.
Selects the 7-bit own address, the comparator slot that holds it, whether to also answer the I2C general-call address, whether to arm ICMR3.WAIT-based clock stretching so the servicing loop has time to handle each byte, and whether to arm the ICIER target interrupts. cppcheck cannot see tests/ so it flags the members as unused; all five are read in ra8_i2c_peripheral_init.
| bool ra8_i2c_peripheral_cfg_t::clock_stretch |
Arm ICMR3.WAIT clock stretching.
Definition at line 486 of file ra8_i2c.h.
Referenced by ra8_i2c_peripheral_init().
| bool ra8_i2c_peripheral_cfg_t::general_call |
Also answer the general-call addr.
Definition at line 485 of file ra8_i2c.h.
Referenced by ra8_i2c_peripheral_init().
| bool ra8_i2c_peripheral_cfg_t::irq_enable |
Arm ICIER RIE / TIE / SPIE.
Definition at line 487 of file ra8_i2c.h.
Referenced by ra8_i2c_peripheral_init().
| uint8_t ra8_i2c_peripheral_cfg_t::own_addr_7b |
7-bit own address to answer on.
Definition at line 483 of file ra8_i2c.h.
Referenced by ra8_i2c_peripheral_init().
| ra8_i2c_peripheral_slot_t ra8_i2c_peripheral_cfg_t::slot |
Own-address comparator slot.
Definition at line 484 of file ra8_i2c.h.
Referenced by ra8_i2c_peripheral_init().