usb: filter out synchronization type for isochronous endpoints
Fix so that different isochronous synchronization modes can be used. It filters out the synchronization mode before sending the endpoint type to drivers. Signed-off-by: Johan Carlsson <johan.carlsson@teenage.engineering>
This commit is contained in:
parent
81c3d7b925
commit
552508506f
3 changed files with 9 additions and 13 deletions
|
@ -22,11 +22,15 @@
|
|||
/**
|
||||
* USB endpoint direction and number.
|
||||
*/
|
||||
|
||||
#define USB_EP_DIR_MASK 0x80
|
||||
#define USB_EP_DIR_IN 0x80
|
||||
#define USB_EP_DIR_OUT 0x00
|
||||
|
||||
/**
|
||||
* USB endpoint Transfer Type mask.
|
||||
*/
|
||||
#define USB_EP_TRANSFER_TYPE_MASK 0x3
|
||||
|
||||
/**
|
||||
* @brief USB Device Controller API
|
||||
* @defgroup _usb_device_controller_api USB Device Controller API
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue