![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "board.h"Go to the source code of this file.
Macros | |
| #define | COLUMN_ADDR(block, page) (block * K9F1G_PAGES_PER_BLOCK + page) |
Functions | |
| void | lpc_nandflash_init (void) |
| Initialize flash. | |
| void | lpc_nandflash_DeInit (void) |
| De-initialize flash. | |
| const lpc_nandflash_size_t * | lpc_nandflash_get_size (void) |
| Return the flash size. | |
| void | lpc_nandflash_get_id (uint8_t *pData) |
| Read manufacturer ID and device ID. | |
| uint8_t | lpc_nandflash_read_status (void) |
| Read status. | |
| void | lpc_nandflash_erase_block (uint32_t block) |
| Erase a block. | |
| uint32_t | lpc_nandflash_write_page (uint32_t block, uint32_t page, uint8_t *data, uint32_t size) |
| Write a page to NAND FLASH. | |
| void | lpc_nandflash_read_start (uint32_t block, uint32_t page, uint32_t ofs) |
| Start reading data from NAND FLASH. | |
| void | lpc_nandflash_read_data (uint8_t *data, uint32_t size) |
| Read data from NAND FLASH. | |
Variables | |
| static const lpc_nandflash_size_t | nandSize |