![]() |
NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
|
TWI flash driver. More...
#include <stdint.h>
Go to the source code of this file.
Functions | |
int | twi_flash_setup (void) |
int | twi_flash_erase (void) |
int | twi_flash_stream_get (uint32_t *rdata) |
int | twi_flash_stream_put (uint32_t wdata) |
TWI flash driver.
int twi_flash_erase | ( | void | ) |
Erase flash. Not required for EEPROM-style TWI memories.
int twi_flash_setup | ( | void | ) |
Setup TWI flash.
int twi_flash_stream_get | ( | uint32_t * | rdata | ) |
Read stream word from TWI flash.
[in,out] | rdata | Pointer for returned data (uint32_t). |
int twi_flash_stream_put | ( | uint32_t | wdata | ) |
Write stream word to SPI flash.
wdata | TWI flash write data. |