Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
CRC context structure. More...
#include <zephyr/drivers/crc.h>
Data Fields | |
enum crc_type | type |
CRC calculation type. | |
enum crc_state | state |
Current CRC device state. | |
uint32_t | reversed |
CRC input/output reverse flags. | |
crc_poly_t | polynomial |
CRC polynomial. | |
crc_init_val_t | seed |
CRC initial seed value. | |
crc_result_t | result |
CRC result. |
CRC context structure.
This structure holds the state of the CRC calculation, including the type of CRC being calculated, the current state, the polynomial, the initial seed value, and the result of the CRC calculation.
crc_poly_t crc_ctx::polynomial |
CRC polynomial.
crc_result_t crc_ctx::result |
CRC result.
uint32_t crc_ctx::reversed |
CRC input/output reverse flags.
crc_init_val_t crc_ctx::seed |
CRC initial seed value.
enum crc_state crc_ctx::state |
Current CRC device state.
enum crc_type crc_ctx::type |
CRC calculation type.