#include <compiler.h>
Functions | |
void | S_Nv_EarlyInit (void) |
Initializes the internal flash service for early access. More... | |
void | S_Nv_Init (void) |
Initializes the component and tells which items are persistent against S_Nv_EraseAll(FALSE). More... | |
void S_Nv_EarlyInit | ( | void | ) |
Initializes the internal flash service for early access.
References ComputeSectorHeaderCrc(), D_Nv_Read, EraseSector(), FIRST_SECTOR, SectorHeader_t::headerCrc, INITIAL_SECTOR_SEQUENCE_NUMBER, SectorHeaderSnv1_t::isActive, LoadSector(), s_earlyInitDone, s_itemCount, s_nextPageAddressAfterCompact, s_sector, SECTOR_COUNT, SECTOR_HEADER_SIZE, SectorHeader_t::sequenceNumber, SectorHeader_t::sequenceParity, SectorHeader_t::signature, SNV_REV_1, SNV_REV_2, and WriteSectorHeader().
Referenced by S_Nv_Init().
void S_Nv_Init | ( | void | ) |
Initializes the component and tells which items are persistent against S_Nv_EraseAll(FALSE).
References ERASE_SECTOR_DELAY_MS, eraseSectorTimerFired(), SYS_Timer_t::handler, SYS_Timer_t::interval, SYS_Timer_t::mode, s_earlyInitDone, S_Nv_EarlyInit(), SYS_TIMER_INTERVAL_MODE, and SYS_Timer_t::timeout.
Referenced by PDS_Init().