aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Endpoint.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-05-12 08:28:02 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-05-12 08:28:02 +0000
commit958a1b4e2bffdc548b34edd322d30cec5d5feacd (patch)
tree26ae804ec69ffb4f1c0e788eed9d3411b215a55c /LUFA/Drivers/USB/LowLevel/Endpoint.h
parentea743970951cbcd6d5206b3136de8c9eb90298a5 (diff)
downloadlufa-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/Endpoint.h')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Endpoint.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.h b/LUFA/Drivers/USB/LowLevel/Endpoint.h
index aa5005a82..4882acc3b 100644
--- a/LUFA/Drivers/USB/LowLevel/Endpoint.h
+++ b/LUFA/Drivers/USB/LowLevel/Endpoint.h
@@ -153,34 +153,6 @@
* \see \ref ENDPOINT_PIPE_vect for more information on the common pipe and endpoint interrupt vector.
*/
#define ENDPOINT_INT_SETUP UEIENX, (1 << RXSTPE), UEINTX, (1 << RXSTPI)
-
- /** Interrupt definition for the endpoint IN interrupt (for INTERRUPT type endpoints). 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 endpoint interrupt
- * period has elapsed and the endpoint is ready for a new packet to be written to its FIFO buffer
- * (if required).
- *
- * \note This interrupt must be enabled and cleared on *each* endpoint which requires it (after the
- * endpoint is selected), and will fire the common endpoint interrupt vector.
- *
- * \see \ref ENDPOINT_PIPE_vect for more information on the common pipe and endpoint interrupt vector.
- */
- #define ENDPOINT_INT_IN UEIENX, (1 << TXINE) , UEINTX, (1 << TXINI)
-
- /** Interrupt definition for the endpoint OUT interrupt (for INTERRUPT type endpoints). 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 endpoint interrupt
- * period has elapsed and the endpoint is ready for a packet from the host to be read from its
- * FIFO buffer (if received).
- *
- * \note This interrupt must be enabled and cleared on *each* endpoint which requires it (after the
- * endpoint is selected), and will fire the common endpoint interrupt vector.
- *
- * \see \ref ENDPOINT_PIPE_vect for more information on the common pipe and endpoint interrupt vector.
- */
- #define ENDPOINT_INT_OUT UEIENX, (1 << RXOUTE), UEINTX, (1 << RXOUTI)
/* Pseudo-Function Macros: */
#if defined(__DOXYGEN__)
@@ -265,13 +237,6 @@
*/
static inline uint8_t Endpoint_GetEndpointInterrupts(void);
- /** Clears the endpoint interrupt flag. This clears the specified endpoint number's interrupt
- * mask in the endpoint interrupt flag register.
- *
- * \param EndpointNumber Index of the endpoint whose interrupt flag should be cleared
- */
- static inline void Endpoint_ClearEndpointInterrupt(uint8_t EndpointNumber);
-
/** Determines if the specified endpoint number has interrupted (valid only for INTERRUPT type
* endpoints).
*
@@ -398,8 +363,6 @@
#define Endpoint_GetEndpointInterrupts() UEINT
- #define Endpoint_ClearEndpointInterrupt(n) MACROS{ UEINT &= ~(1 << n); }MACROE
-
#define Endpoint_HasEndpointInterrupted(n) ((UEINT & (1 << n)) ? true : false)
#define Endpoint_IsINReady() ((UEINTX & (1 << TXINI)) ? true : false)