|
ssize_t | eeprom_spi_command (eeprom_25xxx_t eeprom, uint8_t *cmd, uint8_t len) |
| Sends a generic command to the SPI memory. More...
|
|
ssize_t | eeprom_spi_erase (eeprom_25xxx_t eeprom, uint32_t addr, size_t len) |
| Erases an array of bytes in the EEPROM. Erase Page command is used. More...
|
|
ssize_t | eeprom_spi_read (eeprom_25xxx_t eeprom, void *rxbuf, uint32_t addr, size_t len) |
| Reads the specified number of bytes from the EEPROM. More...
|
|
ssize_t | eeprom_spi_read_status (eeprom_25xxx_t eeprom) |
| Reads the status register of the memory. More...
|
|
ssize_t | eeprom_spi_write (eeprom_25xxx_t eeprom, uint8_t *data, uint32_t addr, size_t len) |
| Writes an array of bytes in the EEPROM. More...
|
|
ssize_t | eeprom_spi_write_enable (eeprom_25xxx_t eeprom) |
| Sets the Write-Enable Latch in the memory. More...
|
|