ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
pi4ioe_state_t Struct Reference

One PI4IOE5V6408 I/O expander on the modelled I2C bus. More...

Data Fields

uint8_t reg_ptr
 Active auto-incrementing register pointer.
bool ptr_set
 First byte of this transfer set the ptr.
uint8_t file [k_pi4ioe_reg_max]
 Register-file shadow.
uint32_t writes
 Register writes the controller landed.

Detailed Description

One PI4IOE5V6408 I/O expander on the modelled I2C bus.

Holds the auto-incrementing register pointer and the bounded register-file shadow written and read through the RIIC byte callbacks.

Definition at line 30 of file board_periph_riic_devices.c.

Field Documentation

◆ file

uint8_t pi4ioe_state_t::file[k_pi4ioe_reg_max]

Register-file shadow.

Definition at line 33 of file board_periph_riic_devices.c.

Referenced by internal_pi4ioe_read(), and internal_pi4ioe_write().

◆ ptr_set

bool pi4ioe_state_t::ptr_set

First byte of this transfer set the ptr.

Definition at line 32 of file board_periph_riic_devices.c.

Referenced by internal_pi4ioe_write().

◆ reg_ptr

uint8_t pi4ioe_state_t::reg_ptr

Active auto-incrementing register pointer.

Definition at line 31 of file board_periph_riic_devices.c.

Referenced by internal_pi4ioe_read(), and internal_pi4ioe_write().

◆ writes

uint32_t pi4ioe_state_t::writes

Register writes the controller landed.

Definition at line 34 of file board_periph_riic_devices.c.

Referenced by internal_pi4ioe_write().


The documentation for this struct was generated from the following file: