#include <stdint.h>
#include <stddef.h>
Go to the source code of this file.
Functions |
int | sst39_writeWord (uint32_t address, uint16_t data) |
| Write a word (16 bit) to the flash memory.
|
int | sst39_writeBytes (uint32_t address, const uint8_t *data, size_t len) |
| Write a series of bytes to the flash memory.
|
uint16_t | sst39_readWord (uint32_t address) |
| Read a word (16 bit) from the flash memory.
|
void | sst39_readBytes (uint32_t address, uint8_t *buffer, size_t bufferLen) |
| Read a series of bytes from the flash memory.
|
void | sst39_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 | sst39_eraseChip () |
| Erase everything in the flash memory.
|
void | sst39_eraseSector (uint32_t address) |
| Erase a given sector in the flash memory.
|
int | sst39_size () |
| Get the size of the device.
|
int | sst39_test () |
| Checks the device's manufacture and device ID.
|
Detailed Description