Zephyr API Documentation  3.6.0
A Scalable Open Source RTOS
3.6.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bos.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  usb_bos_capability_lpm
 BOS USB 2.0 extension capability descriptor. More...
 
struct  usb_bos_platform_descriptor
 BOS platform capability descriptor. More...
 
struct  usb_bos_capability_webusb
 WebUSB specific part of platform capability descriptor. More...
 
struct  usb_bos_capability_msos
 Microsoft OS 2.0 descriptor specific part of platform capability descriptor. More...
 

Macros

#define USB_DEVICE_BOS_DESC_DEFINE_CAP    static __in_section(usb, bos_desc_area, 1) __aligned(1) __used
 Helper macro to place the BOS compatibility descriptor in the right memory section.
 

Enumerations

enum  usb_bos_capability_types { USB_BOS_CAPABILITY_EXTENSION = 0x02 , USB_BOS_CAPABILITY_PLATFORM = 0x05 }
 Device capability type codes. More...
 

Functions

void usb_bos_register_cap (struct usb_bos_platform_descriptor *hdr)
 Register BOS capability descriptor.