#include <stdint.h>
#include <stddef.h>
Go to the source code of this file.
Functions |
int | m29w320_writeWord (uint32_t address, uint16_t data) |
| Write a word (16 bit) to the flash memory.
|
int | m29w320_writeBytes (uint32_t address, const uint8_t *data, size_t len) |
| Write a series of bytes to the flash memory.
|
uint16_t | m29w320_readWord (uint32_t address) |
| Read a word (16 bit) from the flash memory.
|
void | m29w320_readBytes (uint32_t address, uint8_t *buffer, size_t bufferLen) |
| Read a series of bytes from the flash memory.
|
void | m29w320_readBytesBlocking (uint32_t address, uint8_t *buffer, size_t bufferLen) |
| Read a series of bytes from the flash memory, not re-enabling EPMP bypass mode between writes.
|
void | m29w320_eraseChip () |
| Erase everything in the flash memory.
|
void | m29w320_eraseBlock (uint32_t address) |
| Erase a given block in the flash memory.
|
int | m29w320_size () |
| Get the size of the device.
|
int | m29w320_test () |
| Checks the device's manufacture and device ID.
|
Detailed Description