 |
MAX32675 Peripheral Driver API
Peripheral Driver API for the MAX32675
|
int MXC_CRC_Init(void)
Enable portions of the CRC.
uint32_t dataLen
Length of the data.
Definition: crc.h:62
void MXC_CRC_SetPoly(uint32_t poly)
Set the Polynomial for CRC calculation.
int MXC_CRC_ComputeAsync(mxc_crc_req_t *req)
Perform a CRC computation using DMA.
uint32_t MXC_CRC_GetPoly(void)
Get the polynomial for CRC calculation.
uint32_t resultCRC
Calculated CRC value.
Definition: crc.h:63
mxc_crc_bitorder_t MXC_CRC_GetDirection(void)
Set the bit-order of CRC calculation.
void MXC_CRC_SwapDataOut(mxc_crc_bitorder_t bitOrder)
Byte Swap CRC Data output.
void MXC_CRC_SetDirection(mxc_crc_bitorder_t bitOrder)
Set the bit-order of CRC calculation.
int MXC_CRC_Shutdown(void)
Disable and reset portions of the CRC.
void MXC_CRC_SwapDataIn(mxc_crc_bitorder_t bitOrder)
Byte Swap CRC Data Input.
uint32_t MXC_CRC_GetResult(void)
Get the result of a CRC calculation.
Structure used to set up CRC request.
Definition: crc.h:60
int MXC_CRC_Compute(mxc_crc_req_t *req)
Perform a CRC computation.
uint32_t * dataBuffer
Pointer to the data.
Definition: crc.h:61
mxc_crc_bitorder_t
CRC data bit order.
Definition: crc.h:70
void MXC_CRC_Handler(int ch, int error)
This function should be called from the CRC ISR Handler when using Async functions.