STM8L libraries for CR95HF 1.0
Functions
LRIXK_Is_Functions
LRIXK_Support_Functions

Functions

u8 LRIXK_Is_Request_Flags_ok (const u8 Request_flags, const u8 LRIXK_cmd_code)
 This function performs several checks to verify that the request flag is not wrong for the LRIXK family contactless tags.
u8 LRIXK_Is_Memory_programming_function (const u8 LRIXK_cmd_code)
 This function returns if the LRIXK contactless tag performs a memory programming by processing the command. ( write, lock). Note that this functions includes the LRIXK custom commands.
u8 LRIXK_Is_Fast_Datarate_ok (const u8 Request_flags, const CR95HF_Protocol_Config *Protocol_Settings)
 This function returns for fast commands if the datarate selected with the protocol select function is really 52kbits/s and if the requestflags is really in high datarate ( fast command multiplies the data rate per 2 (High datarate : 26kbits/s)
u8 LRIXK_Is_Fast_Command (const u8 LRIXK_cmd_code)
 This function returns if the command is a fast command.

Function Documentation

u8 LRIXK_Is_Fast_Command ( const u8  LRIXK_cmd_code)

This function returns if the command is a fast command.

Parameters:
LRIXK_cmd_code: the command code to check
Return values:
TRUE_CODE: Parameters matches
FALSE_CODE: Parameters do not macth data rates are different
u8 LRIXK_Is_Fast_Datarate_ok ( const u8  Request_flags,
const CR95HF_Protocol_Config Protocol_Settings 
)

This function returns for fast commands if the datarate selected with the protocol select function is really 52kbits/s and if the requestflags is really in high datarate ( fast command multiplies the data rate per 2 (High datarate : 26kbits/s)

Parameters:
Request_flags: the request flags to transmit to the contactless tag for checking the datarate
Protocol_Settings: Stucture containing parameters of the protocol set.
Return values:
TRUE_CODE: Parameters matches
FALSE_CODE: Parameters do not macth data rates are different
u8 LRIXK_Is_Memory_programming_function ( const u8  LRIXK_cmd_code)

This function returns if the LRIXK contactless tag performs a memory programming by processing the command. ( write, lock). Note that this functions includes the LRIXK custom commands.

Parameters:
LRIXK_cmd_code: command code
Return values:
TRUE_CODE: The command performs a memory programming
FALSE_CODE: The command does not perform a memory programming
u8 LRIXK_Is_Request_Flags_ok ( const u8  Request_flags,
const u8  LRIXK_cmd_code 
)

This function performs several checks to verify that the request flag is not wrong for the LRIXK family contactless tags.

Parameters:
Request_flags: First byte of RF command sent to contacless tag
LRIXK_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
 All Data Structures Files Functions Variables Defines