usecore::ops::Deref;#[derive(Copy, Clone)]pubenumUsbSpeed{
FullSpeed,
HighSpeed,}pubtraitUsb<State>: Deref<Target = crate::raw::usb1::RegisterBlock> + Sync {constSPEED: UsbSpeed;// TODO: Ideally, user could use both FS and HS peripherals.
// Then the Cargo feature could go away as well.
// For this, would need to move NUM_ENDPOINTS from global constants
// to associated constant, but this does not currently work.
// const NUM_ENDPOINTS: usize;
}