contiki/libmc1322x/nvm.c

23 lines
601 B
C
Raw Normal View History

2009-04-20 18:29:20 +00:00
#include "nvm.h"
2009-05-05 17:43:53 +00:00
2010-02-26 17:53:21 +00:00
nvmErr_t (*nvm_detect)
(nvmInterface_t nvmInterface,nvmType_t* pNvmType)
= (void *) 0x00006cb9;
2010-02-26 17:53:21 +00:00
nvmErr_t (*nvm_read)
(nvmInterface_t nvmInterface , nvmType_t nvmType , void *pDest, uint32_t address, uint32_t numBytes)
= (void *) 0x00006d69;
2010-02-26 17:53:21 +00:00
nvmErr_t (*nvm_write)
(nvmInterface_t nvmInterface, nvmType_t nvmType ,void *pSrc, uint32_t address, uint32_t numBytes)
= (void *) 0x00006ec5;
2010-02-26 17:53:21 +00:00
nvmErr_t (*nvm_erase)
(nvmInterface_t nvmInterface, nvmType_t nvmType ,uint32_t sectorBitfield)
= (void*) 0x00006e05;
2010-02-26 17:53:21 +00:00
void(*nvm_setsvar)
(uint32_t zero_for_awesome)
= (void *)0x00007085;