Microchip® Advanced Software Framework

_rww_eeprom_module Struct Reference

Internal device instance struct.

Data Fields

struct _rww_eeprom_page cache
 Buffer to hold the currently cached page. More...
 
bool cache_active
 Indicates if the cache contains valid data. More...
 
bool initialized
 Initialization state of the RWW EEPROM emulator. More...
 
uint8_t logical_pages
 Number of logical pages occupied by the RWW EEPROM emulator. More...
 
uint8_t page_map [RWW_EEPROM_MAX_LOGICAL_PAGES]
 Mapping array from logical RWW EEPROM pages to physical pages. More...
 
uint16_t physical_pages
 Number of physical pages occupied by the RWW EEPROM emulator. More...
 
struct _rww_eeprom_pagerwwee_addr
 Absolute byte pointer to the first byte of memory where the emulated RWW EEPROM is stored. More...
 
uint8_t spare_row
 Row number for the spare row (used by next write). More...
 

uint8_t _rww_eeprom_module::logical_pages
uint16_t _rww_eeprom_module::physical_pages
uint8_t _rww_eeprom_module::spare_row