STM8L libraries for CR95HF 1.0
Functions
M24LRXX_EH_Get_Functions
M24LRXX_EH_Support_Functions

Functions

u8 M24LRXX_Get_Energy_Harvesting_Range (u8 Configuration_Byte)
 This function returns the range of energy harvesting using the Configuration byte retrieved with a Read Cfg command.
u8 M24LRXX_Get_RF_BUSY_WIP (u8 Configuration_Byte)
 This function returns the RF busy or Write in progress bit using the Configuration byte retrieved with a Read Cfg command.
u8 M24LRXX_Get_EH_mode_Configuration_Byte (u8 Configuration_Byte)
 This function returns the Energy Harvesting Mode bit using the Configuration byte retrieved with a Read Cfg command.
u8 M24LRXX_Get_EH_mode_Control_Register (u8 Control_Register)
 This function returns the Energy Harvesting Mode bit using the Control Register retrieved with a Check EH En command.

Function Documentation

u8 M24LRXX_Get_EH_mode_Configuration_Byte ( u8  Configuration_Byte)

This function returns the Energy Harvesting Mode bit using the Configuration byte retrieved with a Read Cfg command.

Parameters:
Configuration_Byte: the byte containing the data available in the tag structure at dataField[M24LRXX_CONFIGURATION_BYTE_CURSOR]
Return values:
M24LRXX_CONFIGURATION_BYTE_EH_ENABLED: the energy harvesting is enabled
M24LRXX_CONFIGURATION_BYTE_EH_DISABLED: the energy harvesting is disabled
u8 M24LRXX_Get_EH_mode_Control_Register ( u8  Control_Register)

This function returns the Energy Harvesting Mode bit using the Control Register retrieved with a Check EH En command.

Parameters:
Control_Register: the byte containing the data, available in the tag structure at Tagstructurename.dataField[M24LRXX_CONTROL_REGISTER_CURSOR]
Return values:
M24LRXX_CONTROL_REGISTER_EH_ENABLED: the energy harvesting is enabled
M24LRXX_CONTROL_REGISTER_EH_DISABLED: the energy harvesting is disabled
u8 M24LRXX_Get_Energy_Harvesting_Range ( u8  Configuration_Byte)

This function returns the range of energy harvesting using the Configuration byte retrieved with a Read Cfg command.

Parameters:
Configuration_Byte: the byte containing the data available in the tag structure at dataField[M24LRXX_CONFIGURATION_BYTE_CURSOR]
Return values:
M24LRXX_CONFIGURATION_BYTE_RANGE_6_MA: energy harvesting is actived when at least 6mA can be retrieved
M24LRXX_CONFIGURATION_BYTE_RANGE_3_MA: energy harvesting is actived when at least 3mA can be retrieved
M24LRXX_CONFIGURATION_BYTE_RANGE_1_MA: energy harvesting is actived when at least 1mA can be retrieved
M24LRXX_CONFIGURATION_BYTE_RANGE_300_MA: energy harvesting is actived when at least 300ľA can be retrieved
u8 M24LRXX_Get_RF_BUSY_WIP ( u8  Configuration_Byte)

This function returns the RF busy or Write in progress bit using the Configuration byte retrieved with a Read Cfg command.

Parameters:
Configuration_Byte: the byte containing the data available in the tag structure at dataField[M24LRXX_CONFIGURATION_BYTE_CURSOR]
Return values:
M24LRXX_CONFIGURATION_BYTE_RF_BUSY: indicate to the I2C bus when communication in RF is happening
M24LRXX_CONFIGURATION_BYTE_RF_WIP: indicate to the I2C bus when data have been changed by the RF
 All Data Structures Files Functions Variables Defines