![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "board.h"Go to the source code of this file.
Functions | |
| void | lpc_norflash_init (void) |
| Initialize flash. | |
| void | lpc_norflash_get_size (UNS_32 *size, UNS_32 *sector_count) |
| Return the flash size. | |
| UNS_32 | lpc_norflash_get_sector_offset (UNS_32 sector) |
| Return the sector offset. | |
| void | lpc_norflash_get_id (UNS_16 *manu_id, UNS_16 *device_id) |
| Read manufacturer ID and device ID. | |
| bool | lpc_norflash_toggle_bit_check (UNS_32 addr) |
| Check Toggle Bit is being toggled or not. | |
| void | lpc_norflash_erase_sector (UNS_32 addr) |
| Erase a sector. | |
| void | lpc_norflash_write_word (UNS_32 addr, UNS_16 data) |
| Write data to flash. | |
| UNS_32 | lpc_norflash_write_buffer (UNS_32 addr, UNS_16 *data, UNS_32 size) |
| Write buffer to flash. | |
| UNS_16 | lpc_norflash_read_word (UNS_32 addr) |
| Read data from flash. | |