Management of Software Development Kit eval board EEPROM.
More...
|
void | EepromSpiInitialization (void) |
| Initializes the SPI for the EEPROM. SPI, MISO, MOSI and SCLK are the same used for the SPIRIT1. This function can be replaced by EepromCsPinInitialization if SpiritSpiInit is called. More...
|
|
void | EepromCsPinInitialization (void) |
| Initialization of the CSn pin of the EEPROM. This function is called internally by EepromCsPinInitialization. More...
|
|
void | EepromCsXnucleoPinInitialization (void) |
| Initialization of the CSn pin of the EEPROM for XNUCLEO boards. More...
|
|
uint8_t | EepromStatus (void) |
| Read the status register. More...
|
|
void | EepromRead (uint16_t nAddress, uint8_t cNbBytes, uint8_t *pcBuffer) |
| Read a page of the EEPROM. A page size is 32 bytes. The pages are 256. Page 0 address: 0x0000 Page 1 address: 0x0020 ... Page 255 address: 0x1FE0. More...
|
|
void | EepromWrite (uint16_t nAddress, uint8_t cNbBytes, uint8_t *pcBuffer) |
| Write a page of the EEPROM. A page size is 32 bytes. The pages are 256. Page 0 address: 0x0000 Page 1 address: 0x0020 ... Page 255 address: 0x1FE0 It is allowed to write only a page for each operation. If the bytes exceed the single page location, the other bytes are written at the beginning. More...
|
|
uint8_t | EepromResetSrwd (void) |
| Reset the ERSR status bit. More...
|
|
uint8_t | EepromSetSrwd (void) |
| Set the ERSR status bit. More...
|
|
void | EepromWriteEnable (void) |
| Set the internal WEL flag to allow write operation. More...
|
|
uint8_t | SdkEvalGetHasEeprom (void) |
| This function is to query if EEPROM is present or not. More...
|
|
void | SdkEvalSetHasEeprom (uint8_t eeprom) |
| This function is to set if EEPROM is present or not. More...
|
|
See the file SDK_EVAL_EEPROM.h for more details.
◆ EepromCsPinInitialization()
void EepromCsPinInitialization |
( |
void |
| ) |
|
◆ EepromCsXnucleoPinInitialization()
void EepromCsXnucleoPinInitialization |
( |
void |
| ) |
|
◆ EepromRead()
void EepromRead |
( |
uint16_t |
nAddress, |
|
|
uint8_t |
cNbBytes, |
|
|
uint8_t * |
pcBuffer |
|
) |
| |
◆ EepromResetSrwd()
uint8_t EepromResetSrwd |
( |
void |
| ) |
|
◆ EepromSetSrwd()
uint8_t EepromSetSrwd |
( |
void |
| ) |
|
◆ EepromSpiInitialization()
void EepromSpiInitialization |
( |
void |
| ) |
|
◆ EepromStatus()
uint8_t EepromStatus |
( |
void |
| ) |
|
◆ EepromWrite()
void EepromWrite |
( |
uint16_t |
nAddress, |
|
|
uint8_t |
cNbBytes, |
|
|
uint8_t * |
pcBuffer |
|
) |
| |
◆ EepromWriteEnable()
void EepromWriteEnable |
( |
void |
| ) |
|
◆ SdkEvalGetHasEeprom()
uint8_t SdkEvalGetHasEeprom |
( |
void |
| ) |
|
◆ SdkEvalSetHasEeprom()
void SdkEvalSetHasEeprom |
( |
uint8_t |
eeprom | ) |
|