7 #ifndef __MSP430WARE_CRC32_H__
8 #define __MSP430WARE_CRC32_H__
10 #include "inc/hw_memmap.h"
12 #ifdef __MSP430_HAS_CRC32__
33 #define CRC32_MODE (0x01)
34 #define CRC16_MODE (0x00)
232 #endif // __MSP430WARE_CRC32_H__
void CRC32_set32BitDataReversed(uint32_t dataIn)
Translates the data by reversing the bits in each 32 bit data and then sets this data to add into the...
Definition: crc32.c:83
void CRC32_set8BitData(uint8_t dataIn, uint8_t crcMode)
Sets the 8 bit data to add into the CRC32 module to generate a new signature.
Definition: crc32.c:34
void CRC32_set32BitData(uint32_t dataIn)
Sets the 32 bit data to add into the CRC32 module to generate a new signature.
Definition: crc32.c:55
void CRC32_setSeed(uint32_t seed, uint8_t crcMode)
Sets the seed for the CRC32.
Definition: crc32.c:21
uint32_t CRC32_getResult(uint8_t crcMode)
Returns the value of the signature result.
Definition: crc32.c:90
void CRC32_set8BitDataReversed(uint8_t dataIn, uint8_t crcMode)
Translates the data by reversing the bits in each 8 bit data and then sets this data to add into the ...
Definition: crc32.c:63
void CRC32_set16BitDataReversed(uint16_t dataIn, uint8_t crcMode)
Translates the data by reversing the bits in each 16 bit data and then sets this data to add into the...
Definition: crc32.c:73
uint32_t CRC32_getResultReversed(uint8_t crcMode)
Returns the bit-wise reversed format of the 32 bit signature result.
Definition: crc32.c:105
void CRC32_set16BitData(uint16_t dataIn, uint8_t crcMode)
Sets the 16 bit data to add into the CRC32 module to generate a new signature.
Definition: crc32.c:44