Interface Flash Functions

FLITF EDATA Flash Interface Functions

ee_itf_flash_status EE_ITF_FLASH_Init ( void * f_object , ee_itf_flash_callback_t ee_callback )

Initialize the EDATA FLITF flash interface.

Parameters :
  • f_object – Flash handle used by the interface.

  • ee_callback – Callback invoked on interrupted operations.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_WriteData ( uint32_t address , uint8_t * p_data , uint16_t size )

Write data to the EDATA FLITF flash interface.

Parameters :
  • address – Flash address.

  • p_data – Pointer to data to write.

  • size – Data size in bytes.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_ReadData ( uint32_t address , uint8_t * p_data , uint16_t size )

Read data from the EDATA FLITF flash interface.

Parameters :
  • address – Flash address.

  • p_data – Output data buffer.

  • size – Data size in bytes.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_PageErase ( uint32_t address , uint16_t nb_pages )

Erase pages in the EDATA FLITF flash interface.

Parameters :
  • address – Page-aligned address.

  • nb_pages – Number of pages to erase.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_PageErase_IT ( uint32_t address , uint16_t nb_pages )

Erase pages using interrupt process in the EDATA FLITF flash interface.

Parameters :
  • address – Page-aligned address.

  • nb_pages – Number of pages to erase.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_GetLastOperationStatus ( uint32_t * address )

Get last interrupted operation status for the EDATA FLITF flash interface.

Parameters :

address – Output pointer for the interrupted operation address.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_ClearError ( void )

Clear errors for the EDATA FLITF flash interface.

Return values :

Possible – return values: see ee_itf_flash_status.

FLITF User Flash Interface Functions

ee_itf_flash_status EE_ITF_FLASH_Init ( void * f_object , ee_itf_flash_callback_t ee_callback )

Initialize the user FLITF flash interface.

Initialize the EDATA FLITF flash interface.

Parameters :
  • f_object – Flash instance used by the interface.

  • ee_callback – Callback invoked on interrupted operations.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_WriteData ( uint32_t address , uint8_t * p_data , uint16_t size )

Write data to the user FLITF flash interface.

Write data to the EDATA FLITF flash interface.

Parameters :
  • address – Flash address.

  • p_data – Pointer to data to write.

  • size – Data size in bytes.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_ReadData ( uint32_t address , uint8_t * p_data , uint16_t size )

Read data from the user FLITF flash interface.

Read data from the EDATA FLITF flash interface.

Parameters :
  • address – Flash address.

  • p_data – Output data buffer.

  • size – Data size in bytes.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_PageErase ( uint32_t address , uint16_t nb_pages )

Erase pages in the user FLITF flash interface.

Erase pages in the EDATA FLITF flash interface.

Parameters :
  • address – Page-aligned address.

  • nb_pages – Number of pages to erase.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_PageErase_IT ( uint32_t address , uint16_t nb_pages )

Erase pages using interrupt process in the user FLITF flash interface.

Erase pages using interrupt process in the EDATA FLITF flash interface.

Parameters :
  • address – Page-aligned address.

  • nb_pages – Number of pages to erase.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_GetLastOperationStatus ( uint32_t * address )

Get last interrupted operation status for the user FLITF flash interface.

Get last interrupted operation status for the EDATA FLITF flash interface.

Parameters :

address – Output pointer for the interrupted operation address.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_ClearError ( void )

Clear errors for the user FLITF flash interface.

Clear errors for the EDATA FLITF flash interface.

Return values :

Possible – return values: see ee_itf_flash_status.

NVM EDATA Flash Interface Functions

ee_itf_flash_status EE_ITF_FLASH_Init ( void * f_object , ee_itf_flash_callback_t ee_callback )

Initialize the EDATA NVM flash interface.

Initialize the EDATA FLITF flash interface.

Parameters :
  • f_object – Flash instance used by the interface.

  • ee_callback – Callback invoked on interrupted operations.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_WriteData ( uint32_t address , uint8_t * p_data , uint16_t size )

Write data to the EDATA NVM flash interface.

Write data to the EDATA FLITF flash interface.

Parameters :
  • address – Flash address.

  • p_data – Pointer to data to write.

  • size – Data size in bytes.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_ReadData ( uint32_t address , uint8_t * p_data , uint16_t size )

Read data from the EDATA NVM flash interface.

Read data from the EDATA FLITF flash interface.

Parameters :
  • address – Flash address.

  • p_data – Output data buffer.

  • size – Data size in bytes.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_PageErase ( uint32_t address , uint16_t nb_pages )

Erase pages in the EDATA NVM flash interface.

Erase pages in the EDATA FLITF flash interface.

Parameters :
  • address – Page-aligned address.

  • nb_pages – Number of pages to erase.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_PageErase_IT ( uint32_t address , uint16_t nb_pages )

Erase pages using interrupt process in the EDATA NVM flash interface.

Erase pages using interrupt process in the EDATA FLITF flash interface.

Parameters :
  • address – Page-aligned address.

  • nb_pages – Number of pages to erase.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_GetLastOperationStatus ( uint32_t * address )

Get last interrupted operation status for the EDATA NVM flash interface.

Get last interrupted operation status for the EDATA FLITF flash interface.

Parameters :

address – Output pointer for the interrupted operation address.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_ClearError ( void )

Clear errors for the EDATA NVM flash interface.

Clear errors for the EDATA FLITF flash interface.

Return values :

Possible – return values: see ee_itf_flash_status.

NVM User Flash Interface Functions

ee_itf_flash_status EE_ITF_FLASH_Init ( void * f_object , ee_itf_flash_callback_t ee_callback )

Initialize the user NVM flash interface.

Initialize the EDATA FLITF flash interface.

Parameters :
  • f_object – Flash instance used by the interface.

  • ee_callback – Callback invoked on interrupted operations.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_WriteData ( uint32_t address , uint8_t * p_data , uint16_t size )

Write data to the user NVM flash interface.

Write data to the EDATA FLITF flash interface.

Parameters :
  • address – Flash address.

  • p_data – Pointer to data to write.

  • size – Data size in bytes.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_ReadData ( uint32_t address , uint8_t * p_data , uint16_t size )

Read data from the user NVM flash interface.

Read data from the EDATA FLITF flash interface.

Parameters :
  • address – Flash address.

  • p_data – Output data buffer.

  • size – Data size in bytes.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_PageErase ( uint32_t address , uint16_t nb_pages )

Erase pages in the user NVM flash interface.

Erase pages in the EDATA FLITF flash interface.

Parameters :
  • address – Page-aligned address.

  • nb_pages – Number of pages to erase.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_PageErase_IT ( uint32_t address , uint16_t nb_pages )

Erase pages using interrupt process in the user NVM flash interface.

Erase pages using interrupt process in the EDATA FLITF flash interface.

Parameters :
  • address – Page-aligned address.

  • nb_pages – Number of pages to erase.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_GetLastOperationStatus ( uint32_t * address )

Get last interrupted operation status for the user NVM flash interface.

Get last interrupted operation status for the EDATA FLITF flash interface.

Parameters :

address – Output pointer for the interrupted operation address.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_ClearError ( void )

Clear errors for the user NVM flash interface.

Clear errors for the EDATA FLITF flash interface.

Return values :

Possible – return values: see ee_itf_flash_status.

Template Flash Interface Functions

ee_itf_flash_status EE_ITF_FLASH_Init ( void * f_object , ee_itf_flash_callback_t ee_callback )

Initialize the flash interface (template).

Initialize the EDATA FLITF flash interface.

Parameters :
  • f_object – Flash instance used by the interface.

  • ee_callback – Callback invoked on interrupted operations.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_WriteData ( uint32_t address , uint8_t * p_data , uint16_t size )

Write data to flash (template).

Write data to the EDATA FLITF flash interface.

Parameters :
  • address – Flash address.

  • p_data – Pointer to data to write.

  • size – Data size in bytes.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_ReadData ( uint32_t address , uint8_t * p_data , uint16_t size )

Read data from flash (template).

Read data from the EDATA FLITF flash interface.

Parameters :
  • address – Flash address.

  • p_data – Output data buffer.

  • size – Data size in bytes.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_PageErase ( uint32_t page , uint16_t nb_pages )

Erase flash pages (template).

Erase pages in the EDATA FLITF flash interface.

Parameters :
  • page – Page-aligned address.

  • nb_pages – Number of pages to erase.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_PageErase_IT ( uint32_t page , uint16_t nb_pages )

Erase flash pages using interrupt process (template).

Erase pages using interrupt process in the EDATA FLITF flash interface.

Parameters :
  • page – Page-aligned address.

  • nb_pages – Number of pages to erase.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_GetLastOperationStatus ( uint32_t * address )

Get last interrupted operation status (template).

Get last interrupted operation status for the EDATA FLITF flash interface.

Parameters :

address – Output pointer for the interrupted operation address.

Return values :

Possible – return values: see ee_itf_flash_status.

ee_itf_flash_status EE_ITF_FLASH_ClearError ( void )

Clear flash interface errors (template).

Clear errors for the EDATA FLITF flash interface.

Return values :

Possible – return values: see ee_itf_flash_status.