X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/3222f21b849ca283cc6c1f07c347285b8cbce075..f5951d15936f397afbeb31bf467a90e6e9b5e161:/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h index e42e50cec..7dc6af538 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h +++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.h @@ -42,6 +42,7 @@ #include #include + #include #include "../V2Protocol.h" #include "XPROGTarget.h" @@ -97,8 +98,8 @@ #define XPRG_PARAM_NVMBASE 0x01 #define XPRG_PARAM_EEPPAGESIZE 0x02 - #define XPRG_PARAM_UNDOC_1 0x03 - #define XPRG_PARAM_UNDOC_2 0x04 + #define XPRG_PARAM_NVMCMD 0x03 + #define XPRG_PARAM_NVMCSR 0x04 #define XPRG_PROTOCOL_PDI 0x00 #define XPRG_PROTOCOL_JTAG 0x01 @@ -109,6 +110,10 @@ /* External Variables: */ extern uint32_t XPROG_Param_NVMBase; + extern uint16_t XPROG_Param_EEPageSize; + extern uint8_t XPROG_Param_NVMCSRRegAddr; + extern uint8_t XPROG_Param_NVMCMDRegAddr; + extern uint8_t XPROG_SelectedProtocol; /* Function Prototypes: */ void XPROGProtocol_SetMode(void);