aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/Lib/TPITarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/AVRISP/Lib/TPITarget.h')
-rw-r--r--Projects/AVRISP/Lib/TPITarget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Projects/AVRISP/Lib/TPITarget.h b/Projects/AVRISP/Lib/TPITarget.h
index e11e07551..596bdce21 100644
--- a/Projects/AVRISP/Lib/TPITarget.h
+++ b/Projects/AVRISP/Lib/TPITarget.h
@@ -64,9 +64,11 @@
#define BITBANG_TPICLOCK_PIN PINB
#define BITBANG_TPICLOCK_MASK (1 << 1)
+ /** Total number of bits in a single USART frame */
#define BITS_IN_TPI_FRAME 12
- #define TPI_NVM_TIMEOUT_MS 200
+ /** Timeout in milliseconds of a PDI busy-wait command */
+ #define TPI_NVM_TIMEOUT_MS 100
#define TPI_CMD_SLD 0x20
#define TPI_CMD_SST 0x60