STM8L libraries for CR95HF 1.0
Functions
ISO15693_CRC_Functions
ISO15693_Support_Functions

Functions

int16_t ISO15693_CRC16 (const u8 *DataIn, const u8 NbByte)
 This function computes the CRC16 as defined by CRC ISO/IEC 13239.
u8 ISO15693_IsCorrectCRC16Residue (const u8 *DataIn, const u8 Length)
 this function computes the CRC16 residue as defined by CRC ISO/IEC 13239
int16_t ISO15693_CRC16_EEPROM (const u8 NbByte)
 This function computes the CRC16 as defined by CRC ISO/IEC 13239 using data stored into the internal EEPROM of the MCU.
u8 ISO15693_IsCorrectCRC16Residue_EEPROM (const u8 Length)
 This function computes the CRC16 residue as defined by CRC ISO/IEC 13239 using data stored into the internal EEPROM of the MCU.

Function Documentation

int16_t ISO15693_CRC16 ( const u8 *  DataIn,
const u8  NbByte 
)

This function computes the CRC16 as defined by CRC ISO/IEC 13239.

Parameters:
DataIn: input data
NbByte): Number of bytes of DataIn
Return values:
ResCrc: CRC16 computed
int16_t ISO15693_CRC16_EEPROM ( const u8  NbByte)

This function computes the CRC16 as defined by CRC ISO/IEC 13239 using data stored into the internal EEPROM of the MCU.

Parameters:
NbByte: number of bytes to check
Return values:
ResCrc: CRC16 computed
u8 ISO15693_IsCorrectCRC16Residue ( const u8 *  DataIn,
const u8  Length 
)

this function computes the CRC16 residue as defined by CRC ISO/IEC 13239

Parameters:
DataIn: input data
Length: Number of bytes of DataIn
Return values:
ISO15693_RESULTOKCRC16: CRC16 residue is correct
ISO15693_ERRORCODE_GENERICCRC16: CRC16 residue is false
u8 ISO15693_IsCorrectCRC16Residue_EEPROM ( const u8  Length)

This function computes the CRC16 residue as defined by CRC ISO/IEC 13239 using data stored into the internal EEPROM of the MCU.

Parameters:
Length: Number of bytes of DataIn
Return values:
ISO15693_RESULTOKCRC16: CRC16 residue is correct
ISO15693_ERRORCODE_GENERICCRC16: CRC16 residue is false
 All Data Structures Files Functions Variables Defines