STM8L libraries for CR95HF 1.0
Functions
M24LRXX_Is_Functions
M24LRXX_Support_Functions

Functions

u8 M24LRXX_Is_Request_Flags_ok (const u8 Request_flags, const u8 M24LRXX_cmd_code)
 This function performs several checks to verify that the request flag is not wrong for the M24LRXX family contactless tags.
u8 M24LRXX_Is_Memory_programming_function (const u8 M24LRXX_cmd_code)
 This function returns if the M24LRXX contactless tag performs a memory programming by processing the command (write, lock). Note that this functions includes the M24LRXX custom commands.
u8 M24LRXX_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 M24LRXX_Is_Fast_Command (const u8 M24LRXX_cmd_code)
 This function returns if the command is a fast command.

Function Documentation

u8 M24LRXX_Is_Fast_Command ( const u8  M24LRXX_cmd_code)

This function returns if the command is a fast command.

Parameters:
M24LRXX_cmd_code: the command code to check
Return values:
TRUE_CODE: Parameters matches
FALSE_CODE: Parameters do not macth data rates are different
u8 M24LRXX_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: the stucture containing the information about the parameters related to the protocol in use
Return values:
TRUE_CODE: Parameters matches
FALSE_CODE: Parameters do not macth data rates are different
u8 M24LRXX_Is_Memory_programming_function ( const u8  M24LRXX_cmd_code)

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

Parameters:
M24LRXX_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 M24LRXX_Is_Request_Flags_ok ( const u8  Request_flags,
const u8  M24LRXX_cmd_code 
)

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

Parameters:
Request_flags: First byte of RF command sent to contacless tag
M24LRXX_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