|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
MCTP bus binding over the Zephyr USB device stack. More...
Go to the source code of this file.
Data Structures | |
| struct | mctp_binding_usb |
| INTERNAL_HIDDEN. More... | |
| struct | mctp_usb_class_inst |
| MCTP USB class instance configuration. More... | |
Macros | |
| #define | MCTP_USB_DEFINE(_name, _subclass, _protocol) |
| INTERNAL_HIDDEN. | |
MCTP class subclass options | |
Values accepted as the subclass argument of MCTP_USB_DEFINE(). | |
| #define | USBD_MCTP_SUBCLASS_MANAGEMENT_CONTROLLER 0 |
| Management controller. | |
| #define | USBD_MCTP_SUBCLASS_MANAGED_DEVICE_ENDPOINT 0 |
| Managed device endpoint. | |
| #define | USBD_MCTP_SUBCLASS_HOST_INTERFACE_ENDPOINT 1 |
| Host interface endpoint. | |
MCTP class protocol options | |
Values accepted as the protocol argument of MCTP_USB_DEFINE(). | |
| #define | USBD_MCTP_PROTOCOL_1_X 1 |
| MCTP protocol version 1.x. | |
| #define | USBD_MCTP_PROTOCOL_2_X 2 |
| MCTP protocol version 2.x. | |
MCTP bus binding over the Zephyr USB device stack.
| #define MCTP_USB_DEFINE | ( | _name, | |
| _subclass, | |||
| _protocol ) |
INTERNAL_HIDDEN.
Define a MCTP bus binding for USB
| _name | Symbolic name of the bus binding variable |
| _subclass | MCTP subclass used in the USB interfce descriptor |
| _protocol | MCTP protocol used in the USB interface descriptor |
| #define USBD_MCTP_PROTOCOL_1_X 1 |
MCTP protocol version 1.x.
| #define USBD_MCTP_PROTOCOL_2_X 2 |
MCTP protocol version 2.x.
| #define USBD_MCTP_SUBCLASS_HOST_INTERFACE_ENDPOINT 1 |
Host interface endpoint.
| #define USBD_MCTP_SUBCLASS_MANAGED_DEVICE_ENDPOINT 0 |
Managed device endpoint.
| #define USBD_MCTP_SUBCLASS_MANAGEMENT_CONTROLLER 0 |
Management controller.