Nut/OS  4.10.3
API Reference
at91_efc.h File Reference
#include <sys/types.h>
Include dependency graph for at91_efc.h:

Go to the source code of this file.

Functions

int OnChipFlashLoad (uint32_t addr, void *buff, size_t siz)
 Load data from MCU on-chip flash.
int OnChipFlashSave (uint32_t addr, CONST void *buff, size_t len)
 Save data to MCU on-chip flash.
int FlashAreaIsLock (uint32_t addr)
int LockFlashArea (uint32_t addr)
int UnlockFlashArea (uint32_t addr)

Function Documentation

int OnChipFlashLoad ( uint32_t  addr,
void *  buff,
size_t  siz 
)

Load data from MCU on-chip flash.

Returns:
0 on success, -1 otherwise.
int OnChipFlashSave ( uint32_t  addr,
CONST void *  buff,
size_t  len 
)

Save data to MCU on-chip flash.

Returns:
0 on success, -1 otherwise.
int FlashAreaIsLock ( uint32_t  addr)
int LockFlashArea ( uint32_t  addr)
int UnlockFlashArea ( uint32_t  addr)