60typedef enum : uint8_t {
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
ra8_err_t ra8_i3c_i2c_peripheral_status(uint8_t channel, uint8_t *out_mask)
Read latched peripheral-side status mask.
ra8_err_t ra8_i3c_i2c_peripheral_send(uint8_t channel, const uint8_t *data, uint32_t len)
Push len bytes into NTDTBP0 in response to a controller-read.
ra8_i3c_i2c_peripheral_status_t
Peripheral-side status mask.
@ k_ra8_i3c_i2c_peripheral_status_nack
BST.NACKDF set.
@ k_ra8_i3c_i2c_peripheral_status_stop
BST.SPCNDDF set.
@ k_ra8_i3c_i2c_peripheral_status_tx_empty
NTST.TDBEF0 set.
@ k_ra8_i3c_i2c_peripheral_status_rx_full
NTST.RDBFF0 set.
@ k_ra8_i3c_i2c_peripheral_status_aas
Address matched.
@ k_ra8_i3c_i2c_peripheral_status_idle
No latched event.
ra8_err_t ra8_i3c_i2c_peripheral_open(uint8_t channel, const ra8_i3c_i2c_peripheral_cfg_t *cfg)
Open a channel as an IIC_B peripheral.
ra8_err_t ra8_i3c_i2c_peripheral_receive(uint8_t channel, uint8_t *buf, uint32_t len)
Drain len bytes from NTDTBP0 after a controller-write.
ra8_err_t ra8_i3c_i2c_peripheral_close(uint8_t channel)
Close the peripheral channel.
Configuration descriptor for ra8_i3c_i2c_peripheral_open.
uint8_t general_call
Non-zero -> answer general-call address.
uint8_t peripheral_addr_7b
7-bit own address.