X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/e1c1c256192c099f5bfa23946c050aa5954aca4a..53eca61d02f296262011b802e80f145329ace34b:/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h index 3bbf454be..41bc14a1a 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h +++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2009. + Copyright (C) Dean Camera, 2010. dean [at] fourwalledcubicle [dot] com www.fourwalledcubicle.com */ /* - Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2010 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 @@ -30,11 +30,11 @@ /** \file * - * Header file for PDITarget.c. + * Header file for XPROGTarget.c. */ -#ifndef _PDI_TARGET_ -#define _PDI_TARGET_ +#ifndef _XPROG_TARGET_ +#define _XPROG_TARGET_ /* Includes: */ #include @@ -44,6 +44,7 @@ #include #include "../V2Protocol.h" + #include "XPROGProtocol.h" /* Preprocessor Checks: */ #if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)) @@ -80,7 +81,7 @@ #endif /** Number of cycles between each clock when software USART mode is used */ - #define BITS_BETWEEN_USART_CLOCKS 100 + #define BITS_BETWEEN_USART_CLOCKS 200 /** Total number of bits in a single USART frame */ #define BITS_IN_USART_FRAME 12 @@ -141,5 +142,10 @@ uint8_t XPROGTarget_ReceiveByte(void); void XPROGTarget_SendBreak(void); bool XPROGTarget_WaitWhileNVMBusBusy(void); + + #if defined(INCLUDE_FROM_XPROGTARGET_C) + static void XPROGTarget_SetTxMode(void); + static void XPROGTarget_SetRxMode(void); + #endif #endif