S32 SDK
flash_mx25l6433f_driver.c File Reference
#include "flash_mx25l6433f_driver.h"
#include "quadspi_driver.h"
#include "osif.h"

Go to the source code of this file.

Functions

status_t FLASH_MX25L6433F_DRV_Init (uint32_t instance, const flash_mx25l6433f_user_config_t *userConfigPtr, flash_mx25l6433f_state_t *state)
 Initializes the serial flash memory driver. More...
 
status_t FLASH_MX25L6433F_DRV_Deinit (uint32_t instance)
 De-initialize the MX25L6433F flash driver. More...
 
status_t FLASH_MX25L6433F_DRV_SetProtection (uint32_t instance, flash_mx25l6433f_prot_dir_t direction, flash_mx25l6433f_prot_size_t size)
 Configure protected area of the device. More...
 
status_t FLASH_MX25L6433F_DRV_GetProtection (uint32_t instance, flash_mx25l6433f_prot_dir_t *direction, flash_mx25l6433f_prot_size_t *size)
 Get protected area of the device. More...
 
status_t FLASH_MX25L6433F_DRV_SetSecureLock (uint32_t instance)
 Locks the customer sector of the secured OTP area. More...
 
status_t FLASH_MX25L6433F_DRV_GetSecureLock (uint32_t instance, flash_mx25l6433f_secure_lock_t *lock)
 Get lock status of the secured OTP area. More...
 
status_t FLASH_MX25L6433F_DRV_Read (uint32_t instance, uint32_t address, uint8_t *data, uint32_t size)
 Read data from serial flash. More...
 
status_t FLASH_MX25L6433F_DRV_Erase4K (uint32_t instance, uint32_t address)
 Erase a 4k sector in the serial flash. More...
 
status_t FLASH_MX25L6433F_DRV_Erase32K (uint32_t instance, uint32_t address)
 Erase a 32k block in the serial flash. More...
 
status_t FLASH_MX25L6433F_DRV_Erase64K (uint32_t instance, uint32_t address)
 Erase a 64k block in the serial flash. More...
 
status_t FLASH_MX25L6433F_DRV_EraseAll (uint32_t instance)
 Erases the entire serial flash. More...
 
status_t FLASH_MX25L6433F_DRV_EraseVerify (uint32_t instance, uint32_t address, uint32_t size)
 Checks whether or not an area in the serial flash is erased. More...
 
status_t FLASH_MX25L6433F_DRV_Program (uint32_t instance, uint32_t address, uint8_t *data, uint32_t size)
 Writes data in serial flash. More...
 
status_t FLASH_MX25L6433F_DRV_ProgramVerify (uint32_t instance, uint32_t address, const uint8_t *data, uint32_t size)
 Verifies the correctness of the programmed data. More...
 
status_t FLASH_MX25L6433F_DRV_GetStatus (uint32_t instance)
 Get the status of the last operation. More...
 
status_t FLASH_MX25L6433F_DRV_Reset (uint32_t instance)
 Reset the serial flash device. More...
 
status_t FLASH_MX25L6433F_DRV_EnterOTP (uint32_t instance)
 Enters OTP mode. More...
 
status_t FLASH_MX25L6433F_DRV_ExitOTP (uint32_t instance)
 Exits OTP mode. More...
 
status_t FLASH_MX25L6433F_DRV_EnterDPD (uint32_t instance)
 Enters Deep Power Down mode. More...
 
status_t FLASH_MX25L6433F_DRV_ExitDPD (uint32_t instance)
 Exits Deep Power Down mode. More...