diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-25 08:09:49 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-25 08:09:49 +0000 |
commit | 6d1adf7339b71952d1ba8616af9422fbc7333eb1 (patch) | |
tree | 1af4c2655f56f847b4b56cb1551a77e0d3afb054 /Projects/Incomplete/AVRISP/Lib/V2Protocol.h | |
parent | f070902bdb96795c497bce283288affaa9a4fc5b (diff) | |
download | lufa-6d1adf7339b71952d1ba8616af9422fbc7333eb1.tar.gz lufa-6d1adf7339b71952d1ba8616af9422fbc7333eb1.tar.bz2 lufa-6d1adf7339b71952d1ba8616af9422fbc7333eb1.zip |
Updated Benito project -- added hardware interrupt and software buffering for serial data reception to prevent missed characters, condensed pulse generation counters into a struct for clarity.
Added check to CDC_Device_BytesReceived() to ensure 0 is returned when device is not enumerated to a host.
Move AVRISP project's V2Protocol_DelayMS() function to be static inline, as it is now very minimal. Added extra project doxygen documentation.
Diffstat (limited to 'Projects/Incomplete/AVRISP/Lib/V2Protocol.h')
-rw-r--r-- | Projects/Incomplete/AVRISP/Lib/V2Protocol.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Projects/Incomplete/AVRISP/Lib/V2Protocol.h b/Projects/Incomplete/AVRISP/Lib/V2Protocol.h index ce7c1ee4c..b0f1f83c0 100644 --- a/Projects/Incomplete/AVRISP/Lib/V2Protocol.h +++ b/Projects/Incomplete/AVRISP/Lib/V2Protocol.h @@ -38,13 +38,15 @@ /* Includes: */ #include <LUFA/Drivers/USB/USB.h> + #include <LUFA/Drivers/Peripheral/SPI.h>
#include "../Descriptors.h" #include "V2ProtocolConstants.h"
#include "V2ProtocolParams.h" #include "V2ProtocolTarget.h"
- /* Macros: */ + /* Macros: */
+ /** Programmer ID string, returned to the host during the CMD_SIGN_ON command processing */ #define PROGRAMMER_ID "AVRISP_MK2"
#define READ_WRITE_HIGH_BYTE_MASK (1 << 3)
|