EEPROM_PingPong_Config.h contains
definitions that allow the user to change various aspects of EEPROM configuration.
These aspects include:
- Choose between Page Mode and
64-Bit Mode.
//#define _64_BIT_MODE 1
#define PAGE_MODE 1
- Choose how many EEPROM Banks to
emulate.
#define NUM_EEPROM_BANKS 4
- Choose how many EEPROM Pages
within each EEPROM Bank
#define NUM_EEPROM_PAGES 5
- Choose the size of the data space
contained within each EEPROM Page (unit is bytes). Although any size can be
specified, the size will be adjusted to the closest multiple of eight that is
greater than or equal to the number given. For example, a specified size of six
bytes per page will be programmed as eight bytes per page, with the last two
being treated as 0xFFFF. This is to comply with Flash requirements (8 bits of
ECC is programmed for every 64-bit aligned Flash memory address).
#define DATA_SIZE 64