Use immediate variable expansion in the second-deepest level makefile scripts to...
[pub/USBasp.git] / Projects / AVRISP-MKII / Lib / XPROG / TINYNVM.h
index 339b299..696e5f5 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2010.
+     Copyright (C) Dean Camera, 2012.
 
   dean [at] fourwalledcubicle [dot] com
 
   dean [at] fourwalledcubicle [dot] com
-      www.fourwalledcubicle.com
+           www.lufa-lib.org
 */
 
 /*
 */
 
 /*
-  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -45,7 +45,8 @@
 
                #include "XPROGProtocol.h"
                #include "XPROGTarget.h"
 
                #include "XPROGProtocol.h"
                #include "XPROGTarget.h"
-
+               #include "Config/AppConfig.h"
+               
        /* Preprocessor Checks: */
                #if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
                        #undef ENABLE_ISP_PROTOCOL
        /* Preprocessor Checks: */
                #if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
                        #undef ENABLE_ISP_PROTOCOL
@@ -64,6 +65,8 @@
        /* Function Prototypes: */
                bool TINYNVM_WaitWhileNVMBusBusy(void);
                bool TINYNVM_WaitWhileNVMControllerBusy(void);
        /* Function Prototypes: */
                bool TINYNVM_WaitWhileNVMBusBusy(void);
                bool TINYNVM_WaitWhileNVMControllerBusy(void);
+               bool TINYNVM_EnableTPI(void);
+               void TINYNVM_DisableTPI(void);
                bool TINYNVM_ReadMemory(const uint16_t ReadAddress,
                                        uint8_t* ReadBuffer,
                                        uint16_t ReadLength);
                bool TINYNVM_ReadMemory(const uint16_t ReadAddress,
                                        uint8_t* ReadBuffer,
                                        uint16_t ReadLength);