diff options
| author | sawyer bristol <[email protected]> | 2024-12-03 09:54:15 -0700 |
|---|---|---|
| committer | sawyer bristol <[email protected]> | 2024-12-03 09:54:15 -0700 |
| commit | 0b7f9d84befa3ebf0f04bd0036b0fe9a222f7ecf (patch) | |
| tree | b375c7cf2ee67e24a289f9f91774a9f39c2cf436 /embassy-usb/src | |
| parent | 1f9e678066fec147f724cf5635102d795acd8031 (diff) | |
add docs for usb version variants
Diffstat (limited to 'embassy-usb/src')
| -rw-r--r-- | embassy-usb/src/builder.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-usb/src/builder.rs b/embassy-usb/src/builder.rs index 6c42b07dc..008a10f72 100644 --- a/embassy-usb/src/builder.rs +++ b/embassy-usb/src/builder.rs | |||
| @@ -12,7 +12,9 @@ use crate::{Handler, Interface, UsbDevice, MAX_INTERFACE_COUNT, STRING_INDEX_CUS | |||
| 12 | #[non_exhaustive] | 12 | #[non_exhaustive] |
| 13 | /// Allows Configuring the Bcd USB version below 2.1 | 13 | /// Allows Configuring the Bcd USB version below 2.1 |
| 14 | pub enum UsbVersion { | 14 | pub enum UsbVersion { |
| 15 | /// Usb version 2.0 | ||
| 15 | Two = 0x0200, | 16 | Two = 0x0200, |
| 17 | /// Usb version 2.1 | ||
| 16 | TwoOne = 0x0210, | 18 | TwoOne = 0x0210, |
| 17 | } | 19 | } |
| 18 | 20 | ||
