The purpose of this function is to compute the configuration byte for energy harvesting mode given the parameters Energy Harvesting activation and range.
- Parameters:
-
RF_WIP_BUSY,: | RF Write in Progress or RF busy either M24LRXX_CONFIGURATION_BYTE_RF_BUSY or M24LRXX_CONFIGURATION_BYTE_RF_WIP. |
EH_Enable | : Energy Harvesting enabled or disable, either M24LRXX_CONFIGURATION_BYTE_EH_ENABLED or M24LRXX_CONFIGURATION_BYTE_EH_DISABLED. |
EH_Range | : Range of power available on the Vout output : among the value
- M24LRXX_CONFIGURATION_BYTE_RANGE_6_MA
- M24LRXX_CONFIGURATION_BYTE_RANGE_3_MA
- M24LRXX_CONFIGURATION_BYTE_RANGE_1_MA
- M24LRXX_CONFIGURATION_BYTE_RANGE_300_UA.
|
- Return values:
-
configuration_byte | : the configuration byte computed to send within the write_DO_Cfg and the Write_EH_Cfg commands. |