Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
USB BOS support

USB Binary Device Object Store support. More...

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.
 

Detailed Description

USB Binary Device Object Store support.

Macro Definition Documentation

◆ USB_DEVICE_BOS_DESC_DEFINE_CAP

#define USB_DEVICE_BOS_DESC_DEFINE_CAP    static __in_section(usb, bos_desc_area, 1) __aligned(1) __used

#include <zephyr/usb/bos.h>

Helper macro to place the BOS compatibility descriptor in the right memory section.

Enumeration Type Documentation

◆ usb_bos_capability_types

#include <zephyr/usb/bos.h>

Device capability type codes.

Enumerator
USB_BOS_CAPABILITY_EXTENSION 
USB_BOS_CAPABILITY_PLATFORM 

Function Documentation

◆ usb_bos_register_cap()

void usb_bos_register_cap ( struct usb_bos_platform_descriptor hdr)

#include <zephyr/usb/bos.h>

Register BOS capability descriptor.

This function should be used by the application to register BOS capability descriptors before the USB device stack is enabled.

Parameters
[in]hdrPointer to BOS capability descriptor