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_eth_coma_enter_stop(void)
Put COMA into MSTP-gated stop.
ra8_err_t ra8_eth_coma_exit_stop(void)
Exit MSTP-gated stop.
ra8_err_t ra8_eth_coma_attach_handler(ra8_eth_coma_event_fn_t fn, void *ctx)
Attach the shared event handler.
void ra8_eth_coma_dispatch(void)
Dispatch a COMA event.
ra8_err_t ra8_eth_coma_bringup(void)
Bring the COMA switch out of reset, init the buffer pool, and fan every per-agent clock out.
ra8_err_t ra8_eth_coma_deinit(void)
Tear down COMA.
ra8_err_t ra8_eth_coma_clear_status(uint32_t mask)
Clear COMA_STS bits via COMA_ICLR.
ra8_err_t ra8_eth_coma_get_status(uint32_t *out_mask)
Read COMA_STS.
ra8_err_t ra8_eth_coma_init(void)
Initialise COMA.
void(* ra8_eth_coma_event_fn_t)(void *ctx, uint32_t status_mask)
COMA event callback.