#![cfg_attr(not(test), no_std)]
#![allow(dead_code)]
use core::ops::Deref;
pub mod bus;
mod constants;
mod endpoint;
mod endpoint_memory;
mod endpoint_registers;
pub mod pac;
mod registers;
pub enum UsbSpeed {
FullSpeed,
HighSpeed,
}
pub trait UsbPeripheral: Deref<Target = crate::pac::usb::RegisterBlock> + Send + Sync {
const REGISTERS: *const ();
const SPEED: UsbSpeed;
}