Apr 12, 2018
01:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 12, 2018
01:55 PM
I am looking at the code example PSOC4 EmEEPROM, where the size allocated to em EEPROM is defined by:
const uint8_t Em_EEPROM_em_EepromStorage[Em_EEPROM_PHYSICAL_SIZE]
How could one store both uint8_t and uint32_t variables in em EEPROM?
Solved! Go to Solution.
- Tags:
- em_eeprom
1 Solution
Anonymous
Not applicable
Apr 13, 2018
08:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 13, 2018
08:23 AM
Split the unit32 variables into four uint8 variables and store it into the eeprom. The only difference is the size; And of course you would need to keep track of which locations were part of the multi-byte variable.
1 Reply
Anonymous
Not applicable
Apr 13, 2018
08:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 13, 2018
08:23 AM
Split the unit32 variables into four uint8 variables and store it into the eeprom. The only difference is the size; And of course you would need to keep track of which locations were part of the multi-byte variable.