diff options
author | Dean Camera <[email protected]> | 2009-12-23 14:42:50 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-12-23 14:42:50 +0000 |
commit | 69802635ed89aade8be0dea223971bc1afc4ad39 (patch) | |
tree | 0fd2e01d2db0382ae2ca49d2a993b97c1867713a /Projects/AVRISP/Lib/ISPTarget.h | |
parent | bd5e8f07b71b4fa0c058c0edfa8ff3f59ab31610 (diff) | |
download | qmk_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/ISPTarget.h')
-rw-r--r-- | Projects/AVRISP/Lib/ISPTarget.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Projects/AVRISP/Lib/ISPTarget.h b/Projects/AVRISP/Lib/ISPTarget.h index 2af4541a99..62d8bbb4bc 100644 --- a/Projects/AVRISP/Lib/ISPTarget.h +++ b/Projects/AVRISP/Lib/ISPTarget.h @@ -61,13 +61,16 @@ /** Total number of allowable ISP programming speeds supported by the device */
#define TOTAL_ISP_PROGRAMMING_SPEEDS 7
+ /** Timeout in milliseconds of target busy-wait loops waiting for a command to complete */
+ #define TARGET_BUSY_TIMEOUT_MS 100
+
/* Function Prototypes: */
- uint8_t ISPTarget_GetSPIPrescalerMask(void);
- void ISPTarget_ChangeTargetResetLine(const bool ResetTarget);
- uint8_t ISPTarget_WaitForProgComplete(const uint8_t ProgrammingMode, const uint16_t PollAddress,
- const uint8_t PollValue, const uint8_t DelayMS,
- const uint8_t ReadMemCommand);
- uint8_t ISPTarget_WaitWhileTargetBusy(void);
- void ISPTarget_LoadExtendedAddress(void);
+ uint8_t ISPTarget_GetSPIPrescalerMask(void);
+ void ISPTarget_ChangeTargetResetLine(const bool ResetTarget);
+ uint8_t ISPTarget_WaitForProgComplete(const uint8_t ProgrammingMode, const uint16_t PollAddress,
+ const uint8_t PollValue, const uint8_t DelayMS,
+ const uint8_t ReadMemCommand);
+ uint8_t ISPTarget_WaitWhileTargetBusy(void);
+ void ISPTarget_LoadExtendedAddress(void);
#endif
|