IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


Data Structures | Macros | Typedefs | Enumerations | Functions
NVDATA - Non-volatile Data API

Detailed Description

The following functions are provided to store and restore non-volatile data.

Data Structures

struct  Remop
 Definition of non-volatile data. More...
 

Macros

#define MAX_RETENTIVE_AREAS   10
 Number of non-volatile data areas. More...
 

Typedefs

typedef int(* NvExtMemCallback) (BOOL writing, int offs, unsigned char *buf, unsigned int length)
 Definition of external memory read/write callback. More...
 

Enumerations

enum  NvRebootReason {
  REBOOT_UNKNOWN = 0,
  REBOOT_COMMAND = 2,
  REBOOT_WATCHDOG = 3,
  REBOOT_POWER_FAIL = 4,
  REBOOT_CPU_TEMP = 5
}
 Reboot reasons. More...
 

Functions

int nvInitRestoreData (Remop *remop)
 Initialize/Restore non-volatile data. More...
 
int nvSaveData (void)
 Save non-volatile data. More...
 
int nvGetRebootReason (void)
 Get reboot reason. More...
 
int nvEnablePfi (BOOL risingEdge)
 Enable the PFI signal. More...
 
int nvRegisterExtMem (unsigned int size, NvExtMemCallback callback)
 Register external memory. More...
 





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Tue Jul 10 2018 14:54:14 by Doxygen 1.8.13