Microchip® Advanced Software Framework

S_XNv_Init.h File Reference

S_XNv Initializer Driver Interface.

Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.

#include "N_Task.h"
#include "N_Types.h"

Functions

void S_XNv_EarlyInit (void)
 Initializes the external flash service for early access. More...
 
bool S_XNv_EventHandler (N_Task_Event_t evt)
 The event handler for the component's task. More...
 
void S_XNv_Init (void)
 Initializes the rest of the component (timers and task). More...
 

void S_XNv_EarlyInit ( void  )

Initializes the external flash service for early access.

Note
It is not required to call this function if the application does not require early access to external Nv. Note that the S_XNv component is fully functional after calling S_XNv_EarlyInit(), but until S_XNv_Init() is called, chances are much higher that the component blocks when a sector becomes full. Only after S_XNv_Init() is called, compacting the sector is decoupled as much as possible.
bool S_XNv_EventHandler ( N_Task_Event_t  evt)

The event handler for the component's task.

void S_XNv_Init ( void  )

Initializes the rest of the component (timers and task).

Note that N_Task and N_Timer must be initialised first.