USB_IsConnected is now cleared before the USB_Disconnect() event is fired in response to VBUS being removed.
Minor documentation improvements.
This commit is contained in:
parent
2ee9fc7077
commit
4a8ac5e474
8 changed files with 39 additions and 28 deletions
|
@ -709,7 +709,8 @@
|
|||
/* Function Prototypes: */
|
||||
/** Configures the specified pipe number with the given pipe type, token, target endpoint number in the
|
||||
* attached device, bank size and banking mode. Pipes should be allocated in ascending order by their
|
||||
* address in the device (i.e. pipe 1 should be configured before pipe 2 and so on).
|
||||
* address in the device (i.e. pipe 1 should be configured before pipe 2 and so on) to prevent fragmentation
|
||||
* of the USB FIFO memory.
|
||||
*
|
||||
* The pipe type may be one of the EP_TYPE_* macros listed in LowLevel.h, the token may be one of the
|
||||
* PIPE_TOKEN_* masks.
|
||||
|
@ -722,6 +723,9 @@
|
|||
*
|
||||
* A newly configured pipe is frozen by default, and must be unfrozen before use via the \ref Pipe_Unfreeze() macro.
|
||||
*
|
||||
* \note The default control pipe does not have to be manually configured, as it is automatically
|
||||
* configured by the library internally.
|
||||
*
|
||||
* \note This routine will select the specified pipe, and the pipe will remain selected once the
|
||||
* routine completes regardless of if the pipe configuration succeeds.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue