diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-18 07:53:51 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-18 07:53:51 +0000 |
commit | e338cb6f329d6bf948abad88637f81436ee90daf (patch) | |
tree | 8363f304c09248929a65f9c3e029340d1dc960b1 /LUFA/Drivers/USB/LowLevel/Pipe.h | |
parent | 2b21a1552d1a5b107120f4ac2e9ac357c999cc34 (diff) | |
download | lufa-e338cb6f329d6bf948abad88637f81436ee90daf.tar.gz lufa-e338cb6f329d6bf948abad88637f81436ee90daf.tar.bz2 lufa-e338cb6f329d6bf948abad88637f81436ee90daf.zip |
Added new USB_Host_ClearPipeStall() convenience function to clear a stall condition on an attached device's endpoint.
Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor.
Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption.
Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Pipe.h')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Pipe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.h b/LUFA/Drivers/USB/LowLevel/Pipe.h index 62cbe65a2..82d9b69d4 100644 --- a/LUFA/Drivers/USB/LowLevel/Pipe.h +++ b/LUFA/Drivers/USB/LowLevel/Pipe.h @@ -219,7 +219,7 @@ *
* \return The current pipe token, as a PIPE_TOKEN_* mask
*/
- static inline uint8_t Pipe_GetCurrentToken(void);
+ static inline uint8_t Pipe_GetPipeToken(void);
/** Sets the token for the currently selected pipe to one of the tokens specified by the PIPE_TOKEN_*
* masks. This can be used on CONTROL type pipes, to allow for bidirectional transfer of data during
|