diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-24 11:04:05 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-24 11:04:05 +0000 |
commit | 92adb00f8eebab41853f95bbc0de8a2006c6df3d (patch) | |
tree | b3ba0b1a7e1025edad8e0a48bb24eb3255e1a4d9 /Projects/Incomplete/AVRISP/Lib/V2Protocol.h | |
parent | f9c0357b731e5ca4a5456056bbbe2e4a8a2dc9fe (diff) | |
download | lufa-92adb00f8eebab41853f95bbc0de8a2006c6df3d.tar.gz lufa-92adb00f8eebab41853f95bbc0de8a2006c6df3d.tar.bz2 lufa-92adb00f8eebab41853f95bbc0de8a2006c6df3d.zip |
Added PROGRAM_FLASH_ISP and PROGRAM_EEPROM_ISP handler code to the V2 Protocol handler in the AVRISP project, programming complete checks not yet complete.
Diffstat (limited to 'Projects/Incomplete/AVRISP/Lib/V2Protocol.h')
-rw-r--r-- | Projects/Incomplete/AVRISP/Lib/V2Protocol.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Projects/Incomplete/AVRISP/Lib/V2Protocol.h b/Projects/Incomplete/AVRISP/Lib/V2Protocol.h index 39406e465..cd9648253 100644 --- a/Projects/Incomplete/AVRISP/Lib/V2Protocol.h +++ b/Projects/Incomplete/AVRISP/Lib/V2Protocol.h @@ -48,7 +48,15 @@ #define PROGRAMMER_ID "AVRISP_MK2"
#define READ_WRITE_ODD_BYTE_MASK (1 << 3)
+
#define PROG_MODE_PAGED_WRITES_MASK (1 << 0)
+ #define PROG_MODE_WORD_TIMEDELAY_MASK (1 << 1)
+ #define PROG_MODE_WORD_VALUE_MASK (1 << 2)
+ #define PROG_MODE_WORD_READYBUSY_MASK (1 << 3)
+ #define PROG_MODE_PAGED_TIMEDELAY_MASK (1 << 4)
+ #define PROG_MODE_PAGED_VALUE_MASK (1 << 5)
+ #define PROG_MODE_PAGED_READYBUSY_MASK (1 << 6)
+
#define PROG_MODE_COMMIT_PAGE_MASK (1 << 7)
/* Function Prototypes: */
|