Add support for ATmega168p CPU
[pub/USBasp.git] / firmware / isp.h
index e3862e5..2300a58 100644 (file)
@@ -1,13 +1,13 @@
 /*
-  isp.h - part of USBasp
-
-  Autor..........: Thomas Fischl <tfischl@gmx.de>
-  Description....: Provides functions for communication/programming
-                   over ISP interface
-  Licence........: GNU GPL v2 (see Readme.txt)
-  Creation Date..: 2005-02-23
-  Last change....: 2007-07-23
-*/
* isp.h - part of USBasp
+ *
* Autor..........: Thomas Fischl <tfischl@gmx.de>
* Description....: Provides functions for communication/programming
*                  over ISP interface
* Licence........: GNU GPL v2 (see Readme.txt)
* Creation Date..: 2005-02-23
+ * Last change....: 2009-02-28
+ */
 
 #ifndef __isp_h_included__
 #define        __isp_h_included__
 #define ISP_MISO  PB4
 #define ISP_SCK   PB5
 
-#define ISP_DELAY 1
-#define ISP_SCK_SLOW 0
-#define ISP_SCK_FAST 1
-
 /* Prepare connection to target device */
 void ispConnect();
 
@@ -63,4 +59,7 @@ uchar (*ispTransmit)(uchar);
 /* set SCK speed. call before ispConnect! */
 void ispSetSCKOption(uchar sckoption);
 
+/* load extended address byte */
+void ispLoadExtendedAddressByte(unsigned long address);
+
 #endif /* __isp_h_included__ */