LPC1549 EEPROM
eeprom.h File Reference
Go to the source code of this file.
Functions | |
| int | write_eeprom (char *source_addr, char *target_addr, int size) |
| Copy RAM to EEPROM (LPC11U24) | |
| int | read_eeprom (char *source_addr, char *target_addr, int size) |
| Copy EEPROM to RAM (LPC11U24) | |
Detailed Description
Definition in file eeprom.h.
Function Documentation
| int read_eeprom | ( | char * | source_addr, |
| char * | target_addr, | ||
| int | size | ||
| ) |
Copy EEPROM to RAM (LPC11U24)
- Parameters:
-
source_addr Source EEPROM address from which data bytes are to be read. target_addr Destination RAM address where data bytes are to be written. size Number of bytes to be written.
- Returns:
- error code: CMD_SUCCESS | SRC_ADDR_NOT_MAPPED | DST_ADDR_NOT_MAPPED Remark: The top 64 bytes of the EEPROM memory are reserved and cannot be written to.
Definition at line 52 of file eeprom.cpp.
| int write_eeprom | ( | char * | source_addr, |
| char * | target_addr, | ||
| int | size | ||
| ) |
Copy RAM to EEPROM (LPC11U24)
- Parameters:
-
source_addr Source RAM address from which data bytes are to be read. target_addr Destination EEPROM address where data bytes are to be written. size Number of bytes to be written.
- Returns:
- error code: CMD_SUCCESS | SRC_ADDR_NOT_MAPPED | DST_ADDR_NOT_MAPPED Remark: The top 64 bytes of the EEPROM memory are reserved and cannot be written to.
Definition at line 32 of file eeprom.cpp.
Generated on Tue Aug 30 2022 00:28:04 by
1.7.2