![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_SPI_EnableCRC (SPI_TypeDef *SPIx) |
| Enable CRC. | |
| __STATIC_INLINE void | DDL_SPI_DisableCRC (SPI_TypeDef *SPIx) |
| Disable CRC. | |
| __STATIC_INLINE uint32_t | DDL_SPI_IsEnabledCRC (SPI_TypeDef *SPIx) |
| Check if CRC is enabled. | |
| __STATIC_INLINE void | DDL_SPI_SetCRCNext (SPI_TypeDef *SPIx) |
| Set CRCNext to transfer CRC on the line. | |
| __STATIC_INLINE void | DDL_SPI_SetCRCPolynomial (SPI_TypeDef *SPIx, uint32_t CRCPoly) |
| Set polynomial for CRC calculation. | |
| __STATIC_INLINE uint32_t | DDL_SPI_GetCRCPolynomial (SPI_TypeDef *SPIx) |
| Get polynomial for CRC calculation. | |
| __STATIC_INLINE uint32_t | DDL_SPI_GetRxCRC (SPI_TypeDef *SPIx) |
| Get Rx CRC. | |
| __STATIC_INLINE uint32_t | DDL_SPI_GetTxCRC (SPI_TypeDef *SPIx) |
| Get Tx CRC. | |
| __STATIC_INLINE void DDL_SPI_DisableCRC | ( | SPI_TypeDef * | SPIx | ) |
Disable CRC.
| SPIx | SPI Instance |
| None |
Definition at line 747 of file g32r4xx_ddl_spi.h.
| __STATIC_INLINE void DDL_SPI_EnableCRC | ( | SPI_TypeDef * | SPIx | ) |
Enable CRC.
| SPIx | SPI Instance |
| None |
Definition at line 736 of file g32r4xx_ddl_spi.h.
| __STATIC_INLINE uint32_t DDL_SPI_GetCRCPolynomial | ( | SPI_TypeDef * | SPIx | ) |
Get polynomial for CRC calculation.
| SPIx | SPI Instance |
| Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 790 of file g32r4xx_ddl_spi.h.
| __STATIC_INLINE uint32_t DDL_SPI_GetRxCRC | ( | SPI_TypeDef * | SPIx | ) |
Get Rx CRC.
| SPIx | SPI Instance |
| Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 800 of file g32r4xx_ddl_spi.h.
| __STATIC_INLINE uint32_t DDL_SPI_GetTxCRC | ( | SPI_TypeDef * | SPIx | ) |
Get Tx CRC.
| SPIx | SPI Instance |
| Returned | value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
Definition at line 810 of file g32r4xx_ddl_spi.h.
| __STATIC_INLINE uint32_t DDL_SPI_IsEnabledCRC | ( | SPI_TypeDef * | SPIx | ) |
Check if CRC is enabled.
| SPIx | SPI Instance |
| State | of bit (1 or 0). |
Definition at line 758 of file g32r4xx_ddl_spi.h.
| __STATIC_INLINE void DDL_SPI_SetCRCNext | ( | SPI_TypeDef * | SPIx | ) |
Set CRCNext to transfer CRC on the line.
| SPIx | SPI Instance |
| None |
Definition at line 769 of file g32r4xx_ddl_spi.h.
| __STATIC_INLINE void DDL_SPI_SetCRCPolynomial | ( | SPI_TypeDef * | SPIx, |
| uint32_t | CRCPoly ) |
Set polynomial for CRC calculation.
| SPIx | SPI Instance |
| CRCPoly | This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFFFF |
| None |
Definition at line 780 of file g32r4xx_ddl_spi.h.