aboutsummaryrefslogtreecommitdiff
path: root/Projects/AVRISP/Lib/TINYNVM.h
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2009-12-23 14:42:50 +0000
committerDean Camera <[email protected]>2009-12-23 14:42:50 +0000
commit69802635ed89aade8be0dea223971bc1afc4ad39 (patch)
tree0fd2e01d2db0382ae2ca49d2a993b97c1867713a /Projects/AVRISP/Lib/TINYNVM.h
parentbd5e8f07b71b4fa0c058c0edfa8ff3f59ab31610 (diff)
downloadqmk_firmware-69802635ed89aade8be0dea223971bc1afc4ad39.tar.gz
qmk_firmware-69802635ed89aade8be0dea223971bc1afc4ad39.zip
Lower timeout periods in the AVRISP project. Increment firmware minor revision number in the AVRISP project so that it remains comatible with the latest AVRStudio without an upgrade warning.
Diffstat (limited to 'Projects/AVRISP/Lib/TINYNVM.h')
-rw-r--r--Projects/AVRISP/Lib/TINYNVM.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/Projects/AVRISP/Lib/TINYNVM.h b/Projects/AVRISP/Lib/TINYNVM.h
index 585fce8c9b..eca3c98b88 100644
--- a/Projects/AVRISP/Lib/TINYNVM.h
+++ b/Projects/AVRISP/Lib/TINYNVM.h
@@ -43,6 +43,7 @@
#include <LUFA/Common/Common.h>
+ #include "TPIProtocol.h"
#include "TPITarget.h"
/* Preprocessor Checks: */
@@ -56,18 +57,6 @@
#endif
/* Defines: */
- #define TINY_NVM_BUSY_TIMEOUT_MS 200
-
- /* Function Prototypes: */
- void TINYNVM_SendNVMRegAddress(const uint8_t Register);
- void TINYNVM_SendAddress(const uint32_t AbsoluteAddress);
- bool TINYNVM_WaitWhileNVMControllerBusy(void);
- bool TINYNVM_GetMemoryCRC(const uint8_t CRCCommand, uint32_t* const CRCDest);
- bool TINYNVM_ReadMemory(const uint32_t ReadAddress, uint8_t* ReadBuffer, const uint16_t ReadSize);
- bool TINYNVM_WriteByteMemory(const uint8_t WriteCommand, const uint32_t WriteAddress, const uint8_t* WriteBuffer);
- bool TINYNVM_WritePageMemory(const uint8_t WriteBuffCommand, const uint8_t EraseBuffCommand,
- const uint8_t WritePageCommand, const uint8_t PageMode, const uint32_t WriteAddress,
- const uint8_t* WriteBuffer, const uint16_t WriteSize);
- bool TINYNVM_EraseMemory(const uint8_t EraseCommand, const uint32_t Address);
+ #define TINY_NVM_BUSY_TIMEOUT_MS 100
#endif