#include "V2ProtocolParams.h"\r
\r
/* Macros: */\r
+ /** Total number of allowable ISP programming speeds supported by the device */\r
+ #define TOTAL_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 150\r
- \r
+ \r
/* External Variables: */\r
extern uint32_t CurrentAddress;\r
\r
+ /* Inline Functions: */\r
+ static inline void V2Protocol_DelayMS(uint8_t MS)\r
+ {\r
+ TCNT0 = 0;\r
+ while (TCNT0 < MS);\r
+ }\r
+\r
/* Function Prototypes: */\r
uint8_t V2Protocol_GetSPIPrescalerMask(void);\r
void V2Protocol_ChangeTargetResetLine(bool ResetTarget);\r