Lower timeout periods in the AVRISP project. Increment firmware minor revision number...
[pub/USBasp.git] / Projects / AVRISP / Lib / ISPTarget.h
index 2af4541..62d8bbb 100644 (file)
                /** Total number of allowable ISP programming speeds supported by the device */\r
                #define TOTAL_ISP_PROGRAMMING_SPEEDS  7\r
 \r
+               /** Timeout in milliseconds of target busy-wait loops waiting for a command to complete */\r
+               #define TARGET_BUSY_TIMEOUT_MS        100\r
+\r
        /* Function Prototypes: */\r
-                       uint8_t ISPTarget_GetSPIPrescalerMask(void);\r
-                       void    ISPTarget_ChangeTargetResetLine(const bool ResetTarget);\r
-                       uint8_t ISPTarget_WaitForProgComplete(const uint8_t ProgrammingMode, const uint16_t PollAddress,\r
-                                                             const uint8_t PollValue, const uint8_t DelayMS,\r
-                                                             const uint8_t ReadMemCommand);\r
-                       uint8_t ISPTarget_WaitWhileTargetBusy(void);\r
-                       void    ISPTarget_LoadExtendedAddress(void);\r
+               uint8_t ISPTarget_GetSPIPrescalerMask(void);\r
+               void    ISPTarget_ChangeTargetResetLine(const bool ResetTarget);\r
+               uint8_t ISPTarget_WaitForProgComplete(const uint8_t ProgrammingMode, const uint16_t PollAddress,\r
+                                                     const uint8_t PollValue, const uint8_t DelayMS,\r
+                                                     const uint8_t ReadMemCommand);\r
+               uint8_t ISPTarget_WaitWhileTargetBusy(void);\r
+               void    ISPTarget_LoadExtendedAddress(void);\r
 \r
 #endif\r