STM8L libraries for CR95HF 1.0
Functions
ISO15693_Is_Functions
ISO15693_Support_Functions

Functions

u8 ISO15693_Is_ResponseFlags_noError_Detected (const u8 ISO15693_Response_flags)
 This function checks if the response flag is set or not. If set the contactless tag encountered an error while performing the command.
u8 ISO15693_Is_Request_Flags_ok (const u8 Request_flags, const u8 ISO15693_cmd_code)
 This function performs several checks to verify that the request flag is not wrong. This is not a garantee that the request flags is right (depends on the contactless tag and on some commands' particularities).
u8 ISO15693_Is_Collision_Flag_Set (CR95HF_ResponseReceiving *Response)
 This function checks if the check collision flag added by the CR95HF is set or not. If it is, that means that the CRC95HF has detected an collision between two contactless tag answers.
u8 ISO15693_Is_CRC_Flag_Set (CR95HF_ResponseReceiving *Response)
 This function checks if the check CRC flag added by the CR95HF is set or not. If it is, that means that the CRC95HF has detected an error during the reception.
u8 ISO15693_Is_CorrectCRC16_Check (CR95HF_ResponseReceiving *Response)
 This function checks the check CRC flag and the residue of the received command. If there is any problem: mismatch or error, the function returns error value.
u8 ISO15693_Is_TagConstructor_STM (const ISO15693_Tag *MyTag)
 This function returns TRUE_CODE if the contactless tag has been manufactured by STMicroelectronics, the UID of the contactless tag must be known.
u8 ISO15693_Is_Memory_programming_function (const u8 ISO15693_cmd_code)
 This function returns if the contactless tag performs a memory programming by processing the command. ( write, lock)
u8 ISO15693_Is_DSFID_Present_Infoflag (const u8 Information_flags)
 This function returns if the DSFID is present within the contactless tag answer to a get system info command.
u8 ISO15693_Is_AFI_Present_Infoflag (const u8 Information_flags)
 This function returns if the AFI is present within the contactless tag answer to a get system info command.
u8 ISO15693_Is_MemSize_Present_Infoflag (const u8 Information_flags)
 This function returns if the Memsize is present within the contactless tag answer to a get system info command.
u8 ISO15693_Is_ICRef_Present_Infoflag (const u8 Information_flags)
 This function returns if the ICREF is present within the contactless tag answer to a get system info command.

Function Documentation

u8 ISO15693_Is_AFI_Present_Infoflag ( const u8  Information_flags)

This function returns if the AFI is present within the contactless tag answer to a get system info command.

Parameters:
Information_flags: first byte transmitted by the contactless tag containing the information
Return values:
TRUE_CODE: AFI is supported
FALSE_CODE: AFI is not supported
u8 ISO15693_Is_Collision_Flag_Set ( CR95HF_ResponseReceiving Response)

This function checks if the check collision flag added by the CR95HF is set or not. If it is, that means that the CRC95HF has detected an collision between two contactless tag answers.

Parameters:
Response: response returned by CR95HF containing the data
Return values:
TRUE_CODE: the collision flag is set
FALSE_CODE: the collision flag is not set
u8 ISO15693_Is_CorrectCRC16_Check ( CR95HF_ResponseReceiving Response)

This function checks the check CRC flag and the residue of the received command. If there is any problem: mismatch or error, the function returns error value.

Parameters:
Response: response of the contactless tag returned by CR95HF containing the data
Return values:
TRUE_CODE: the CRCResidue is correct, response is sound
FALSE_CODE: mismatch or error in CRC residue, response should contains errors of transmission
u8 ISO15693_Is_CRC_Flag_Set ( CR95HF_ResponseReceiving Response)

This function checks if the check CRC flag added by the CR95HF is set or not. If it is, that means that the CRC95HF has detected an error during the reception.

Parameters:
Response: response returned by CR95HF containing the data
Return values:
TRUE_CODE: the CRC flag is set
FALSE_CODE: the CRC flag is not set
u8 ISO15693_Is_DSFID_Present_Infoflag ( const u8  Information_flags)

This function returns if the DSFID is present within the contactless tag answer to a get system info command.

Parameters:
Information_flags: first byte transmitted by the contactless tag containing the information
Return values:
TRUE_CODE: DSFID is supported
FALSE_CODE: DSFID is not supported
u8 ISO15693_Is_ICRef_Present_Infoflag ( const u8  Information_flags)

This function returns if the ICREF is present within the contactless tag answer to a get system info command.

Parameters:
Information_flags: first byte transmitted by the contactless tag containing the information
Return values:
TRUE_CODE: ICREF is supported
FALSE_CODE: ICREF is not supported
u8 ISO15693_Is_Memory_programming_function ( const u8  ISO15693_cmd_code)

This function returns if the contactless tag performs a memory programming by processing the command. ( write, lock)

Parameters:
ISO15693_cmd_code: command code
Return values:
TRUE_CODE: the command is a memory programming command
FALSE_CODE: the command do not perform a memory programming
u8 ISO15693_Is_MemSize_Present_Infoflag ( const u8  Information_flags)

This function returns if the Memsize is present within the contactless tag answer to a get system info command.

Parameters:
Information_flags: first byte transmitted by the contactless tag containing the information
Return values:
TRUE_CODE: Memsize is supported
FALSE_CODE: Memsize is not supported
u8 ISO15693_Is_Request_Flags_ok ( const u8  Request_flags,
const u8  ISO15693_cmd_code 
)

This function performs several checks to verify that the request flag is not wrong. This is not a garantee that the request flags is right (depends on the contactless tag and on some commands' particularities).

Parameters:
Request_flags: First byte of RF command sent to contacless tag
ISO15693_cmd_code: the code of the command to send to the contactless tag
Return values:
FALSE_CODE: An error has been found out within the request flags
TRUE_CODE: There is no error seen within the request flags
u8 ISO15693_Is_ResponseFlags_noError_Detected ( const u8  ISO15693_Response_flags)

This function checks if the response flag is set or not. If set the contactless tag encountered an error while performing the command.

Parameters:
ISO15693_Response_flags: response flag provided by the contactless tag
Return values:
TRUE_CODE: the contactless tag handled the request
FALSE_CODE: the contactless tag answered but the frame is an error message
u8 ISO15693_Is_TagConstructor_STM ( const ISO15693_Tag MyTag)

This function returns TRUE_CODE if the contactless tag has been manufactured by STMicroelectronics, the UID of the contactless tag must be known.

Parameters:
MyTag: pointer on the strcture containing the UID
Return values:
TRUE_CODE: STMicroelectronics is the manufacturer
FALSE_CODE: STMicroelectronics is not the manufacturer
 All Data Structures Files Functions Variables Defines