diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-14 10:07:08 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-14 10:07:08 +0000 |
commit | 32f0f605efa293430a47d60bb857695ff6937d21 (patch) | |
tree | 9ab514c6088c9f044c029fdf36c880ecdf700a71 /LUFA/Drivers/USB/LowLevel/Pipe.h | |
parent | 0d5baf9bb3e88ebcbc53cc9a71566582d585f7dd (diff) | |
download | lufa-32f0f605efa293430a47d60bb857695ff6937d21.tar.gz lufa-32f0f605efa293430a47d60bb857695ff6937d21.tar.bz2 lufa-32f0f605efa293430a47d60bb857695ff6937d21.zip |
Removed all user pipe/endpoint interrupt APIs, added internal library support for interrupt driven control endpoints when in device mode by defining INTERRUPT_CONTROL_ENDPOINT token and passing it to the compiler via the -D switch.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Pipe.h')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Pipe.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.h b/LUFA/Drivers/USB/LowLevel/Pipe.h index d5c209492..796b4c5a2 100644 --- a/LUFA/Drivers/USB/LowLevel/Pipe.h +++ b/LUFA/Drivers/USB/LowLevel/Pipe.h @@ -158,62 +158,6 @@ */
#define PIPE_EPSIZE_MASK 0x7FF
- /** 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.
- *
- * This interrupt will fire if enabled on an CONTROL type pipe when the pipe is ready for a new
- * control request.
- *
- * \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_SETUP UPIENX, (1 << TXSTPE) , UPINTX, (1 << TXSTPI)
-
- /** Interrupt definition for the pipe error interrupt. Should be used with the USB_INT_* macros
- * located in USBInterrupt.h.
- *
- * This interrupt will fire if enabled on a particular pipe if an error occurs on that pipe, such
- * as a CRC mismatch error.
- *
- * \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.
- *
- * \see \ref Pipe_GetErrorFlags() for more information on the pipe errors.
- */
- #define PIPE_INT_ERROR UPIENX, (1 << PERRE), UPINTX, (1 << PERRI)
-
- /** Interrupt definition for the pipe NAK received interrupt. Should be used with the USB_INT_* macros
- * located in USBInterrupt.h.
- *
- * This interrupt will fire if enabled on a particular pipe if an attached device returns a NAK in
- * response to a sent packet.
- *
- * \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.
- *
- * \see \ref Pipe_IsNAKReceived() for more information on pipe NAKs.
- */
- #define PIPE_INT_NAK UPIENX, (1 << NAKEDE), UPINTX, (1 << NAKEDI)
-
- /** Interrupt definition for the pipe STALL received interrupt. Should be used with the USB_INT_* macros
- * located in USBInterrupt.h.
- *
- * This interrupt will fire if enabled on a particular pipe if an attached device returns a STALL on the
- * currently selected pipe. This will also fire if the pipe is an isochronous pipe and a CRC error occurs.
- *
- * \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_STALL UPIENX, (1 << RXSTALLE), UPINTX, (1 << RXSTALLI)
-
/* Pseudo-Function Macros: */
#if defined(__DOXYGEN__)
/** Indicates the number of bytes currently stored in the current pipes's selected bank.
|