VSF Documented
|
#include "component/usb/vsf_usb_cfg.h"
Go to the source code of this file.
Macros | |
#define | USB_BOS_CAP_WEBUSB_LEN USB_DESC_BOS_CAPABILITY_LEN(4) |
#define | USB_DT_WEBUSB_URL 0x03 |
#define | USB_REQ_WEBUSB_GET_URL 0x02 |
#define | WEBUSB_URL_PREFIX_HTTP 0x00 |
#define | WEBUSB_URL_PREFIX_HTTPS 0x01 |
#define | WEBUSB_URL_PREFIX_NONE 0xFF |
#define | USB_WEBUSB_URL_DESC(__PREFIX, __URL_LEN, ...) |
#define | __bos_desc_webusb(__vendor_code, __landing_page) |
#define | bos_desc_webusb(__vendor_code, __landing_page) __bos_desc_webusb((__vendor_code), (__landing_page)) |
#define | __usbd_webusb_url_desc(__name, __landing_page, __prefix, __url_len, __url) |
#define | usbd_webusb_url_desc(__name, __landing_page, __prefix, __url_len, __url) __usbd_webusb_url_desc(__name, __landing_page, (__prefix), (__url_len), (__url)) |
#define | __usbd_webusb_url_desc_buffer(__name, __landing_page) &__##__name##_webusb_url##__landing_page##_desc |
#define | __usbd_webusb_url_desc_len(__name, __landing_page) sizeof(__##__name##_webusb_url##__landing_page##_desc) |
#define | usbd_webusb_url_desc_buffer(__name, __landing_page) __usbd_webusb_url_desc_buffer(__name, __landing_page) |
#define | usbd_webusb_url_desc_len(__name, __landing_page) __usbd_webusb_url_desc_len(__name, __landing_page) |
#define USB_BOS_CAP_WEBUSB_LEN USB_DESC_BOS_CAPABILITY_LEN(4) |
#define USB_DT_WEBUSB_URL 0x03 |
#define USB_REQ_WEBUSB_GET_URL 0x02 |
#define WEBUSB_URL_PREFIX_HTTP 0x00 |
#define WEBUSB_URL_PREFIX_HTTPS 0x01 |
#define WEBUSB_URL_PREFIX_NONE 0xFF |
#define USB_WEBUSB_URL_DESC | ( | __PREFIX, | |
__URL_LEN, | |||
... | |||
) |
#define __bos_desc_webusb | ( | __vendor_code, | |
__landing_page | |||
) |
#define bos_desc_webusb | ( | __vendor_code, | |
__landing_page | |||
) | __bos_desc_webusb((__vendor_code), (__landing_page)) |
#define __usbd_webusb_url_desc | ( | __name, | |
__landing_page, | |||
__prefix, | |||
__url_len, | |||
__url | |||
) |
#define usbd_webusb_url_desc | ( | __name, | |
__landing_page, | |||
__prefix, | |||
__url_len, | |||
__url | |||
) | __usbd_webusb_url_desc(__name, __landing_page, (__prefix), (__url_len), (__url)) |
#define __usbd_webusb_url_desc_buffer | ( | __name, | |
__landing_page | |||
) | &__##__name##_webusb_url##__landing_page##_desc |
#define __usbd_webusb_url_desc_len | ( | __name, | |
__landing_page | |||
) | sizeof(__##__name##_webusb_url##__landing_page##_desc) |
#define usbd_webusb_url_desc_buffer | ( | __name, | |
__landing_page | |||
) | __usbd_webusb_url_desc_buffer(__name, __landing_page) |
#define usbd_webusb_url_desc_len | ( | __name, | |
__landing_page | |||
) | __usbd_webusb_url_desc_len(__name, __landing_page) |