![]() |
MAX32655 Peripheral Driver API
Peripheral Driver API for the MAX32655
|
Modules | |
| CRC_Registers | |
Data Structures | |
| struct | mxc_crc_req_t |
Enumerations | |
| enum | mxc_crc_bitorder_t |
Functions | |
| int | MXC_CRC_Init (void) |
| int | MXC_CRC_Shutdown (void) |
| void | MXC_CRC_Handler (int ch, int error) |
| void | MXC_CRC_SetDirection (mxc_crc_bitorder_t bitOrder) |
| mxc_crc_bitorder_t | MXC_CRC_GetDirection (void) |
| void | MXC_CRC_SwapDataIn (mxc_crc_bitorder_t bitOrder) |
| void | MXC_CRC_SwapDataOut (mxc_crc_bitorder_t bitOrder) |
| void | MXC_CRC_SetPoly (uint32_t poly) |
| uint32_t | MXC_CRC_GetPoly (void) |
| uint32_t | MXC_CRC_GetResult (void) |
| int | MXC_CRC_Compute (mxc_crc_req_t *req) |
| int | MXC_CRC_ComputeAsync (mxc_crc_req_t *req) |
| struct mxc_crc_req_t |
| int MXC_CRC_Compute | ( | mxc_crc_req_t * | req | ) |
Perform a CRC computation.
| req | Structure containing the data for calculation |
| int MXC_CRC_ComputeAsync | ( | mxc_crc_req_t * | req | ) |
Perform a CRC computation using DMA.
| req | Structure containing the data for calculation |
| mxc_crc_bitorder_t MXC_CRC_GetDirection | ( | void | ) |
Set the bit-order of CRC calculation.
| uint32_t MXC_CRC_GetPoly | ( | void | ) |
Get the polynomial for CRC calculation.
| uint32_t MXC_CRC_GetResult | ( | void | ) |
Get the result of a CRC calculation.
| void MXC_CRC_Handler | ( | int | ch, |
| int | error | ||
| ) |
This function should be called from the CRC ISR Handler when using Async functions.
| ch | DMA channel |
| error | error |
| int MXC_CRC_Init | ( | void | ) |
Enable portions of the CRC.
| void MXC_CRC_SetDirection | ( | mxc_crc_bitorder_t | bitOrder | ) |
Set the bit-order of CRC calculation.
| bitOrder | The direction to perform CRC calculation in |
| void MXC_CRC_SetPoly | ( | uint32_t | poly | ) |
Set the Polynomial for CRC calculation.
| poly | The polynomial to use for 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.
| bitOrder | The direction to perform CRC calculation in |
| void MXC_CRC_SwapDataOut | ( | mxc_crc_bitorder_t | bitOrder | ) |
Byte Swap CRC Data output.
| bitOrder | The direction to perform CRC calculation in |