/* Sets the Energy harvesting mode. 
Needs the I2C Password presentation to be effective.  */
int32_t ST25DV_WriteEHMode(ST25DV_Object_t *pObj, const ST25DV_EH_MODE_STATUS EH_mode)
/* Sets the Energy harvesting mode. 
Needs the I2C Password presentation to be effective.  */
int32_t ST25DV_WriteEHMode(ST25DV_Object_t *pObj, const ST25DV_EH_MODE_STATUS EH_mode)
{
  uint8_t reg_value;
  reg_value = (uint8_t)EH_mode;
  return st25dv_set_eh_mode(&(pObj->Ctx), &reg_value);
}