Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added

* `DummyUsbBus` without functionality to allow examples that actually compile (but not run).
* Extended `UsbRev` enum with variants for USB 1.0 and 1.1.

### Changed

Expand Down
4 changes: 4 additions & 0 deletions src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ const MAX_ENDPOINTS: usize = 16;
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
#[repr(u16)]
pub enum UsbRev {
/// USB 1.0 compliance
Usb100 = 0x100,
/// USB 1.1 compliance
Usb110 = 0x110,
/// USB 2.0 compliance
Usb200 = 0x200,
/// USB 2.1 compliance.
Expand Down
Loading