|
px-fwlib 0.10.0
Cross-platform embedded library and documentation for 8/16/32-bit microcontrollers generated with Doxygen 1.9.2
|
This module can erase a page and write a half page of internal EEPROM.
File(s):
Macros | |
| #define | PX_EEPROM_BASE_ADR DATA_EEPROM_BASE |
| Start address of EEPROM. More... | |
Functions | |
| void | px_eeprom_unlock (void) |
| Unlock EEPROM for programming and erase. More... | |
| void | px_eeprom_lock (void) |
| Lock EEPROM to prevent programming or erase. More... | |
| void | px_eeprom_erase_word (const uint32_t address) |
| Function to erase a word (not really required). More... | |
| #define PX_EEPROM_BASE_ADR DATA_EEPROM_BASE |
Start address of EEPROM.
Definition at line 48 of file px_eeprom.h.
| void px_eeprom_unlock | ( | void | ) |
Unlock EEPROM for programming and erase.
Definition at line 40 of file px_eeprom.c.
| void px_eeprom_lock | ( | void | ) |
Lock EEPROM to prevent programming or erase.
Definition at line 55 of file px_eeprom.c.
| void px_eeprom_erase_word | ( | const uint32_t | address | ) |
Function to erase a word (not really required).
| address | Page address |
Definition at line 69 of file px_eeprom.c.