XBee Firmware Library
1.6.0
|
Functions | |
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... | |
Variables | |
const uint8_t | eeprom25_addrbytes [MAX_EEPROM_SPI_NUM] |
const uint16_t | eeprom25_pagesize [MAX_EEPROM_SPI_NUM] |
const uint8_t | eeprom25_ss_index [MAX_EEPROM_SPI_NUM] |
const uint8_t eeprom25_addrbytes[MAX_EEPROM_SPI_NUM] |
const uint16_t eeprom25_pagesize[MAX_EEPROM_SPI_NUM] |
const uint8_t eeprom25_ss_index[MAX_EEPROM_SPI_NUM] |