Src/EEPROM_Emul/eeprom_emul.c
EE_Status EE_WriteVariable96bits(uint16_t VirtAddress, uint64_t* Data)
{
  if((VirtAddress != 0x0000) && (VirtAddress != 0xFFFF))
  {
    return WriteVariable(VirtAddress, (EE_DATA_TYPE*)Data);
  }
  else
  {
    return EE_INVALID_VIRTUALADDRESS;
  }
}
/**
  * @brief  Writes/updates variable data in EEPROM.
  *         Trig internal Pages transfer if half of the pages are full.
  * @warning This function is not reentrant
  * @param VirtAddress Variable virtual address on 16 bits (can't be 0x0000 or 0xFFFF)
  * @param  Data 96bits data to be written pointed by a uin64_t pointer
  * @retval EE_Status
  *           - EE_OK: on success
  *           - EE_CLEANUP_REQUIRED: success and user has to trig flash pages cleanup
  *           - EE error code: if an error occurs
  */
@brief  Writes/updates variable data in EEPROM.
Trig internal Pages transfer if half of the pages are full.
@warning This function is not reentrant
@param VirtAddress Variable virtual address on 16 bits (can't be 0x0000 or 0xFFFF)
@param  Data 96bits data to be written pointed by a uin64_t pointer
@retval EE_Status
- EE_OK: on success
- EE_CLEANUP_REQUIRED: success and user has to trig flash pages cleanup
- EE error code: if an error occurs
@brief Writes / updates variable data in EEPROM . Trig internal Pages transfer if half of the pages are full . @warning This function is not reentrant @param VirtAddress Variable virtual address on 16 bits ( can ' t be 0x0000 or 0xFFFF ) @param Data 96bits data to be written pointed by a uin64_t pointer @retval EE_Status - EE_OK : on success - EE_CLEANUP_REQUIRED : success and user has to trig flash pages cleanup - EE error code : if an error occurs
EE_Status EE_WriteVariable96bits(uint16_t VirtAddress, uint64_t* Data)
{
  if((VirtAddress != 0x0000) && (VirtAddress != 0xFFFF))
  {
    return WriteVariable(VirtAddress, (EE_DATA_TYPE*)Data);
  }
  else
  {
    return EE_INVALID_VIRTUALADDRESS;
  }
}
EE_Status EE_WriteVariable96bits ( uint16_t VirtAddress , uint64_t * Data ) { if ( ( VirtAddress != 0x0000 ) && ( VirtAddress != 0xFFFF ) ) { return WriteVariable ( VirtAddress , ( EE_DATA_TYPE * ) Data ) ; } else { return EE_INVALID_VIRTUALADDRESS ; } }
@brief  Writes/updates variable data in EEPROM.
@brief Writes / updates variable data in EEPROM .