diff options
Diffstat (limited to 'Projects/Incomplete/AVRISP/Lib/V2Protocol.h')
-rw-r--r-- | Projects/Incomplete/AVRISP/Lib/V2Protocol.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Projects/Incomplete/AVRISP/Lib/V2Protocol.h b/Projects/Incomplete/AVRISP/Lib/V2Protocol.h index 4b60b5610..30d40433f 100644 --- a/Projects/Incomplete/AVRISP/Lib/V2Protocol.h +++ b/Projects/Incomplete/AVRISP/Lib/V2Protocol.h @@ -46,6 +46,9 @@ /* Macros: */ #define PROGRAMMER_ID "AVRISP_MK2"
+
+ #define READ_WRITE_ODD_BYTE_MASK (1 << 3)
+ #define TARGET_MODE_PAGE_MASK (1 << 0)
/* Function Prototypes: */
void V2Protocol_ProcessCommand(void);
@@ -57,6 +60,8 @@ static void V2Protocol_Command_LoadAddress(void);
static void V2Protocol_Command_EnterISPMode(void);
static void V2Protocol_Command_LeaveISPMode(void);
+ static void V2Protocol_Command_ProgramMemory(uint8_t V2Command);
+ static void V2Protocol_Command_ReadMemory(uint8_t V2Command);
static void V2Protocol_Command_ChipErase(void);
static void V2Protocol_Command_ReadFuseLockSigOSCCAL(uint8_t V2Command);
static void V2Protocol_Command_WriteFuseLock(uint8_t V2Command);
|