renamed libmc1322x to lib
This commit is contained in:
parent
4a42f24be5
commit
d5b20ddce5
17 changed files with 2 additions and 2 deletions
22
lib/nvm.c
Normal file
22
lib/nvm.c
Normal file
|
@ -0,0 +1,22 @@
|
|||
#include "nvm.h"
|
||||
|
||||
nvmErr_t (*nvm_detect)
|
||||
(nvmInterface_t nvmInterface,nvmType_t* pNvmType)
|
||||
= (void *) 0x00006cb9;
|
||||
|
||||
nvmErr_t (*nvm_read)
|
||||
(nvmInterface_t nvmInterface , nvmType_t nvmType , void *pDest, uint32_t address, uint32_t numBytes)
|
||||
= (void *) 0x00006d69;
|
||||
|
||||
nvmErr_t (*nvm_write)
|
||||
(nvmInterface_t nvmInterface, nvmType_t nvmType ,void *pSrc, uint32_t address, uint32_t numBytes)
|
||||
= (void *) 0x00006ec5;
|
||||
|
||||
nvmErr_t (*nvm_erase)
|
||||
(nvmInterface_t nvmInterface, nvmType_t nvmType ,uint32_t sectorBitfield)
|
||||
= (void*) 0x00006e05;
|
||||
|
||||
void(*nvm_setsvar)
|
||||
(uint32_t zero_for_awesome)
|
||||
= (void *)0x00007085;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue