Lines Matching +full:direction +full:- +full:based
4 * SPDX-License-Identifier: Apache-2.0
31 uint8_t direction : 1; member
33 uint8_t direction : 1;
39 /** USB Setup Data packet defined in spec. Table 9-2 */
51 /** USB Setup packet RequestType Direction values (from Table 9-2) */
55 /** USB Setup packet RequestType Type values (from Table 9-2) */
61 /** USB Setup packet RequestType Recipient values (from Table 9-2) */
67 /** Get data transfer direction from bmRequestType */
75 * @brief Check if request transfer direction is to host.
78 * @return true If transfer direction is to host
82 return setup->RequestType.direction == USB_REQTYPE_DIR_TO_HOST; in usb_reqtype_is_to_host()
86 * @brief Check if request transfer direction is to device.
89 * @return true If transfer direction is to device
93 return setup->RequestType.direction == USB_REQTYPE_DIR_TO_DEVICE; in usb_reqtype_is_to_device()
96 /** USB Standard Request Codes defined in spec. Table 9-4 */
109 /** Descriptor Types defined in spec. Table 9-5 */
118 /** Additional Descriptor Types defined in USB 3 spec. Table 9-5 */
125 /** Class-Specific Descriptor Types as defined by
134 /** USB Standard Feature Selectors defined in spec. Table 9-6 */
139 /** Bits used for GetStatus response defined in spec. Figure 9-4 */
149 /** USB Standard Device Descriptor defined in spec. Table 9-8 */
167 /** USB Device Qualifier Descriptor defined in spec. Table 9-9 */
180 /** USB Standard Configuration Descriptor defined in spec. Table 9-10 */
192 /** USB Standard Interface Descriptor defined in spec. Table 9-12 */
219 /** USB Standard Endpoint Descriptor defined in spec. Table 9-13 */
232 /** USB Unicode (UTF16LE) String Descriptor defined in spec. Table 9-15 */
239 /** USB Association Descriptor defined in USB 3 spec. Table 9-16 */
251 /** USB Standard Configuration Descriptor Characteristics from Table 9-10 */
256 /** USB Defined Base Class Codes from https://www.usb.org/defined-class-codes */
294 /** USB endpoint direction mask */
297 /** USB IN endpoint direction */
300 /** USB OUT endpoint direction */
311 /** Get direction based on endpoint address */
314 /** Get endpoint address from endpoint index and direction */