ra8_err_t ra8_crc_exit_stop(void)
Exit MSTP-gated stop.
ra8_err_t ra8_crc_init(ra8_crc_poly_t poly)
Configure the CRC block for a given polynomial.
ra8_err_t ra8_crc_compute(const uint8_t *data, uint32_t len, uint32_t *out_crc)
Compute a CRC over a byte buffer.
void ra8_crc_reset(void)
Clear the running CRC state.
ra8_err_t ra8_crc_enter_stop(void)
Put CRC into MSTP-gated stop.
ra8_err_t ra8_crc_deinit(void)
Tear down the CRC block (disable + MSTP release).
ra8_err_t ra8_crc_get_status(uint8_t *out_poly)
Read the current polynomial selection (CRCCR0.GPS).
ra8_err_t ra8_crc_set_poly(ra8_crc_poly_t poly)
Change the CRC polynomial at runtime without a reset.
CRC calculator register layout for the Renesas RA8D2.
ra8_crc_poly_t
Polynomial selection values written to CRCCR0.GPS[2:0].
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.