projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename RingBuffer header functions and typedefs from RingBuff_* to RingBuffer_* so...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
Endpoint.h
diff --git
a/LUFA/Drivers/USB/LowLevel/Endpoint.h
b/LUFA/Drivers/USB/LowLevel/Endpoint.h
index
75c8877
..
c8f9cbf
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/Endpoint.h
+++ b/
LUFA/Drivers/USB/LowLevel/Endpoint.h
@@
-273,7
+273,8
@@
* More banks uses more USB DPRAM, but offers better performance. Isochronous type
* endpoints <b>must</b> have at least two banks.
*
* More banks uses more USB DPRAM, but offers better performance. Isochronous type
* endpoints <b>must</b> have at least two banks.
*
- * \note Endpoints <b>must</b> be configured in ascending order, or bank corruption will occur.
+ * \note When the ORDERED_EP_CONFIG compile time option is used, Endpoints <b>must</b> be configured in ascending
+ * order, or bank corruption will occur.
* \n\n
*
* \note Certain models of USB AVR's endpoints may have different maximum packet sizes based on the endpoint's
* \n\n
*
* \note Certain models of USB AVR's endpoints may have different maximum packet sizes based on the endpoint's
@@
-409,7
+410,7
@@
*/
static inline void Endpoint_AbortPendingIN(void)
{
*/
static inline void Endpoint_AbortPendingIN(void)
{
- while (UESTA0X & (0x03 << NBUSYBK))
+ while (UESTA0X & (0x03 << NBUSYBK
0
))
{
UEINTX |= (1 << RXOUTI);
while (UEINTX & (1 << RXOUTI));
{
UEINTX |= (1 << RXOUTI);
while (UEINTX & (1 << RXOUTI));
@@
-426,7
+427,7
@@
*/
static inline uint8_t Endpoint_GetBusyBanks(void)
{
*/
static inline uint8_t Endpoint_GetBusyBanks(void)
{
- return (UESTA0X & (0x03 << NBUSYBK));
+ return (UESTA0X & (0x03 << NBUSYBK
0
));
}
/** Determines if the currently selected endpoint may be read from (if data is waiting in the endpoint
}
/** Determines if the currently selected endpoint may be read from (if data is waiting in the endpoint