diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-12 08:28:02 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-12 08:28:02 +0000 |
commit | 958a1b4e2bffdc548b34edd322d30cec5d5feacd (patch) | |
tree | 26ae804ec69ffb4f1c0e788eed9d3411b215a55c /LUFA/Drivers/USB/LowLevel/Pipe.h | |
parent | ea743970951cbcd6d5206b3136de8c9eb90298a5 (diff) | |
download | lufa-958a1b4e2bffdc548b34edd322d30cec5d5feacd.tar.gz lufa-958a1b4e2bffdc548b34edd322d30cec5d5feacd.tar.bz2 lufa-958a1b4e2bffdc548b34edd322d30cec5d5feacd.zip |
Fixed Mouse and Keyboard device demos not acting in accordance with the HID specification for idle periods (thanks to Brian Dickman).
Removed support for endpoint/pipe non-control interrupts; these did not act in the way users expected, and had many subtle issues.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Pipe.h')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Pipe.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.h b/LUFA/Drivers/USB/LowLevel/Pipe.h index 7e81cf686..d5c209492 100644 --- a/LUFA/Drivers/USB/LowLevel/Pipe.h +++ b/LUFA/Drivers/USB/LowLevel/Pipe.h @@ -158,34 +158,6 @@ */
#define PIPE_EPSIZE_MASK 0x7FF
- /** Interrupt definition for the pipe IN interrupt (for INTERRUPT type pipes). Should be used with
- * the USB_INT_* macros located in USBInterrupt.h.
- *
- * This interrupt will fire if enabled on an INTERRUPT type pipe if the pipe interrupt period has
- * elapsed and the pipe is ready for the next packet from the attached device to be read out from its
- * FIFO buffer (if received).
- *
- * \note This interrupt must be enabled and cleared on *each* pipe which requires it (after the pipe
- * is selected), and will fire the common pipe interrupt vector.
- *
- * \see \ref ENDPOINT_PIPE_vect for more information on the common pipe and endpoint interrupt vector.
- */
- #define PIPE_INT_IN UPIENX, (1 << RXINE) , UPINTX, (1 << RXINI)
-
- /** Interrupt definition for the pipe OUT interrupt (for INTERRUPT type pipes). Should be used with
- * the USB_INT_* macros located in USBInterrupt.h.
- *
- * This interrupt will fire if enabled on an INTERRUPT type endpoint if a the pipe interrupt period
- * has elapsed and the pipe is ready for a packet to be written to the pipe's FIFO buffer and sent
- * to the attached device (if required).
- *
- * \note This interrupt must be enabled and cleared on *each* pipe which requires it (after the pipe
- * is selected), and will fire the common pipe interrupt vector.
- *
- * \see \ref ENDPOINT_PIPE_vect for more information on the common pipe and endpoint interrupt vector.
- */
- #define PIPE_INT_OUT UPIENX, (1 << TXOUTE), UPINTX, (1 << TXOUTI)
-
/** Interrupt definition for the pipe SETUP bank ready interrupt (for CONTROL type pipes). Should be
* used with the USB_INT_* macros located in USBInterrupt.h.
*
@@ -337,12 +309,6 @@ */
static inline uint8_t Pipe_GetPipeInterrupts(void);
- /** Clears the interrupt flag for the specified pipe number.
- *
- * \param PipeNumber Index of the pipe whose interrupt flag is to be cleared
- */
- static inline void Pipe_ClearPipeInterrupt(uint8_t PipeNumber);
-
/** Determines if the specified pipe number has interrupted (valid only for INTERRUPT type
* pipes).
*
@@ -504,8 +470,6 @@ #define Pipe_GetPipeInterrupts() UPINT
- #define Pipe_ClearPipeInterrupt(n) MACROS{ UPINT &= ~(1 << n); }MACROE
-
#define Pipe_HasPipeInterrupted(n) ((UPINT & (1 << n)) ? true : false)
#define Pipe_Unfreeze() MACROS{ UPCONX &= ~(1 << PFREEZE); }MACROE
|