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

Module state: latched at init time. More...

Collaboration diagram for ra8_smbus_state_t:

Data Fields

bool initialized
 Latched after a good init.
ra8_i2c_bus_ops_t bus
 Injected I2C transfer seam.
bool pec_enabled
 Append + verify PEC byte.
ra8_smbus_alert_fn_t alert_fn
 SMBALERT# callback (or NULL).
void * alert_ctx
 Context for alert_fn.

Detailed Description

Module state: latched at init time.

Invariant
initialized is true if and only if ra8_smbus_init succeeded and ra8_smbus_deinit has not been called.

Definition at line 64 of file ra8_smbus.c.

Field Documentation

◆ alert_ctx

void* ra8_smbus_state_t::alert_ctx

Context for alert_fn.

Definition at line 69 of file ra8_smbus.c.

◆ alert_fn

ra8_smbus_alert_fn_t ra8_smbus_state_t::alert_fn

SMBALERT# callback (or NULL).

Definition at line 68 of file ra8_smbus.c.

◆ bus

ra8_i2c_bus_ops_t ra8_smbus_state_t::bus

Injected I2C transfer seam.

Definition at line 66 of file ra8_smbus.c.

◆ initialized

bool ra8_smbus_state_t::initialized

Latched after a good init.

Definition at line 65 of file ra8_smbus.c.

◆ pec_enabled

bool ra8_smbus_state_t::pec_enabled

Append + verify PEC byte.

Definition at line 67 of file ra8_smbus.c.


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