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 2011-03-05 12:13:35 +00:00
parent b763c3f33e
commit 1e3d892b6a
6 changed files with 72 additions and 89 deletions

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;