51 ra8_err_t (*
write)(
void* ctx, uint8_t addr,
const uint8_t* data, uint32_t len,
bool send_stop);
54 ra8_err_t (*
read)(
void* ctx, uint8_t addr, uint8_t* data, uint32_t len);
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
ra8_io I2C-bus facade – one controller-transfer vtable over thechip's two I2C implementations.
Opaque to applications – backends implement this internally and export a binding helper through their...
ra8_err_t(* read)(void *ctx, uint8_t addr, uint8_t *data, uint32_t len)
Controller read; always ends with STOP.
ra8_err_t(* transfer)(void *ctx, uint8_t addr, const uint8_t *wr, uint32_t wr_len, uint8_t *rd, uint32_t rd_len)
Write-then-RESTART-then-read combined transaction.