diff --git a/src/nvm.c b/src/nvm.c new file mode 100644 index 000000000..c4d54d513 --- /dev/null +++ b/src/nvm.c @@ -0,0 +1,5 @@ +#include "nvm.h" + +volatile nvmErr_t (*nvm_detect)(nvmInterface_t nvmInterface,nvmType_t* pNvmType) = 0x00006cb9; +volatile nvmErr_t (*nvm_read)(nvmInterface_t nvmInterface , nvmType_t nvmType , void *pDest, uint32_t address, uint32_t numBytes) = 0x00006d69; +volatile void(*nvm_setsvar)(uint32_t zero_for_awesome) = 0x00007085;