MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
Functions | |
flash_err_t | NOR_Flash_Init (flash_handle_t *handle, flash_config_t *config) |
Initializes the Flash peripheral. More... | |
flash_err_t | NOR_Flash_ReadData (flash_handle_t *handle, uint32_t address, uint8_t *data, uint32_t dataSize) |
Reads the specified number of bytes from NOR_Flash memory. More... | |
flash_err_t | NOR_Flash_WriteData (flash_handle_t *handle, uint32_t address, uint8_t *data, uint32_t dataSize) |
Writes the specified number of bytes to NOR_Flash memory. More... | |
flash_err_t | NOR_Flash_isBusy (flash_handle_t *handle) |
Get the NOR_Flash busy status. More... | |
flash_err_t | NOR_Flash_EraseBlock (flash_handle_t *handle, uint32_t address, uint32_t blockSize) |
Erase a block of block size memory. More... | |
flash_err_t | NOR_Flash_ChipErase (flash_handle_t *handle) |
Erase the entire NOR_Flash memory. More... | |
flash_err_t NOR_Flash_Init | ( | flash_handle_t * | handle, |
flash_config_t * | config | ||
) |
handle | Flash operation handle. |
config | Pointer to the user-defined configuration structure. |
flash_err_t NOR_Flash_ReadData | ( | flash_handle_t * | handle, |
uint32_t | address, | ||
uint8_t * | data, | ||
uint32_t | dataSize | ||
) |
handle | Flash operation handle. |
address | NOR_Flash address to start reading from. |
data | Pointer to a memory location where the data read out from NOR_Flash will be stored. |
dataSize | Number of bytes to be read. |
flash_err_t NOR_Flash_WriteData | ( | flash_handle_t * | handle, |
uint32_t | address, | ||
uint8_t * | data, | ||
uint32_t | dataSize | ||
) |
handle | Flash operation handle. |
address | NOR_Flash address to start writing to. |
data | Pointer to a memory location where the data data to be written to NOR_Flash is stored. |
dataSize | Number of bytes to be written. |
flash_err_t NOR_Flash_isBusy | ( | flash_handle_t * | handle | ) |
handle | Flash operation handle. |
flash_err_t NOR_Flash_EraseBlock | ( | flash_handle_t * | handle, |
uint32_t | address, | ||
uint32_t | blockSize | ||
) |
handle | Flash operation handle. |
address | NOR_Flash address to start erase. |
blockSize | Erase block size. |
flash_err_t NOR_Flash_ChipErase | ( | flash_handle_t * | handle | ) |
handle | Flash operation handle. |