|
Open Model Railroad Network (OpenMRN)
|
Protected Member Functions | |
| TivaEEPROMHwDefs (uint8_t block_start, uint8_t block_count) | |
| For the Tiva 123 use block_count as multiple of 2, for Tiva 129 use multiple of 8. | |
| unsigned | physical_cell_count () |
| void | write_cell (unsigned cell_offset, eeprom_t value) |
| eeprom_t | read_cell (unsigned cell_offset) |
Static Protected Member Functions | |
| static constexpr unsigned | bits_per_cell () |
| static constexpr unsigned | virtual_cell_count () |
Static Protected Member Functions inherited from EEPROMStoredBitSet_DefaultHW | |
| static unsigned | bits_per_cell () |
| static unsigned | virtual_cell_count () |
| Defines how many virtual cells we store. | |
| static unsigned | physical_cell_count () |
| Defines. | |
| static void | write_cell (unsigned cell_offset, eeprom_t value) |
| Writes to the physical storage. | |
| static eeprom_t | read_cell (unsigned cell_offset) |
| Reads from the physical storage. | |
Private Member Functions | |
| uint32_t | get_address (unsigned cell_offset) |
Private Attributes | |
| uint8_t | blockStart_ |
| Number of the first block for our data. | |
| uint8_t | blockCount_ |
| Number of the blocks of 16 words each to use for our data. | |
Additional Inherited Members | |
Protected Types inherited from EEPROMStoredBitSet_DefaultHW | |
| typedef uint32_t | eeprom_t |
Definition at line 48 of file TivaEEPROMBitSet.hxx.
|
inlineprotected |
For the Tiva 123 use block_count as multiple of 2, for Tiva 129 use multiple of 8.
Same with block_start.
Definition at line 53 of file TivaEEPROMBitSet.hxx.
|
inlinestaticconstexprprotected |
Definition at line 75 of file TivaEEPROMBitSet.hxx.
|
inlineprivate |
| cell_offset | is the physical cell number. |
Definition at line 105 of file TivaEEPROMBitSet.hxx.
|
inlineprotected |
Definition at line 85 of file TivaEEPROMBitSet.hxx.
|
inlineprotected |
Definition at line 95 of file TivaEEPROMBitSet.hxx.
|
inlinestaticconstexprprotected |
Definition at line 80 of file TivaEEPROMBitSet.hxx.
|
inlineprotected |
Definition at line 90 of file TivaEEPROMBitSet.hxx.
|
private |
Number of the blocks of 16 words each to use for our data.
Definition at line 116 of file TivaEEPROMBitSet.hxx.
|
private |
Number of the first block for our data.
Definition at line 114 of file TivaEEPROMBitSet.hxx.