X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/872f61ff53dced4529b743faf639b984e7e9ce77..c58c53dba90fdc19d38f5e5d6957f2ede2a740f3:/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h?ds=inline diff --git a/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h b/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h index 546e5abaa..223bbccfd 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h +++ b/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.h @@ -63,13 +63,14 @@ /* Function Prototypes: */ bool TINYNVM_WaitWhileNVMBusBusy(void); + bool TINYNVM_WaitWhileNVMControllerBusy(void); bool TINYNVM_ReadMemory(const uint16_t ReadAddress, uint8_t* ReadBuffer, uint16_t ReadLength); - bool TINYNVM_WriteMemory(const uint16_t WriteAddress, const uint8_t* WriteBuffer, uint16_t WriteLength); - bool TINYNVM_EraseMemory(void); + bool TINYNVM_WriteMemory(const uint16_t WriteAddress, uint8_t* WriteBuffer, uint16_t WriteLength); + bool TINYNVM_EraseMemory(const uint8_t EraseCommand, const uint16_t Address); #if defined(INCLUDE_FROM_TINYNVM_C) - static void TINYNVM_SendReadNVMRegister(uint8_t Address); - static void TINYNVM_SendWriteNVMRegister(uint8_t Address); + static void TINYNVM_SendReadNVMRegister(const uint8_t Address); + static void TINYNVM_SendWriteNVMRegister(const uint8_t Address); static void TINYNVM_SendPointerAddress(const uint16_t AbsoluteAddress); #endif