Zephyr API Documentation
4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usb.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Linaro Limited
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_USB_USB_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_USB_USB_H_
8
9
/* Ideally we'd generate this enum to match what's coming out of the YAML,
10
* however, we dont have a good way to know how to name such an enum from
11
* the generation point of view, so for now we just hand code the enum. This
12
* enum is expected to match the order in the yaml (dts/bindings/usb/usb.yaml)
13
*/
14
15
enum
dt_usb_maximum_speed
{
16
DT_USB_MAXIMUM_SPEED_LOW_SPEED
,
17
DT_USB_MAXIMUM_SPEED_FULL_SPEED
,
18
DT_USB_MAXIMUM_SPEED_HIGH_SPEED
,
19
DT_USB_MAXIMUM_SPEED_SUPER_SPEED
,
20
};
21
22
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_USB_USB_H_ */
dt_usb_maximum_speed
dt_usb_maximum_speed
Definition
usb.h:15
DT_USB_MAXIMUM_SPEED_SUPER_SPEED
@ DT_USB_MAXIMUM_SPEED_SUPER_SPEED
Definition
usb.h:19
DT_USB_MAXIMUM_SPEED_HIGH_SPEED
@ DT_USB_MAXIMUM_SPEED_HIGH_SPEED
Definition
usb.h:18
DT_USB_MAXIMUM_SPEED_FULL_SPEED
@ DT_USB_MAXIMUM_SPEED_FULL_SPEED
Definition
usb.h:17
DT_USB_MAXIMUM_SPEED_LOW_SPEED
@ DT_USB_MAXIMUM_SPEED_LOW_SPEED
Definition
usb.h:16
zephyr
dt-bindings
usb
usb.h
Generated on Sat Nov 16 2024 04:55:03 for Zephyr API Documentation by
1.12.0