Add software FIFOs to the UC3B pipe control interfaces, to match the endpoint control interfaces. Fix incorrect endianness for the Endpoint/Pipe read and write routines.

This commit is contained in:
Dean Camera committed 2011-03-05 12:13:35 +00:00
1 parent b763c3f33e
commit 1e3d892b6a
6 files changed
+72 -89

No files matched your search

+2 -2
View File
@@ -349,8 +349,8 @@
*
* \param[in] EndpointNumber Endpoint number whose FIFO buffers are to be reset.
*/
static inline void Endpoint_ResetFIFO(const uint8_t EndpointNumber) ATTR_ALWAYS_INLINE;
static inline void Endpoint_ResetFIFO(const uint8_t EndpointNumber)
static inline void Endpoint_ResetEndpoint(const uint8_t EndpointNumber) ATTR_ALWAYS_INLINE;
static inline void Endpoint_ResetEndpoint(const uint8_t EndpointNumber)
{
UERST = (1 << EndpointNumber);
UERST = 0;