blob: aa70c29cf14ea615525efb2594b0658a852006ff [file] [log] [blame]
use kernel::common::StaticRef;
use lowrisc::usbdev::{Usb, UsbRegisters};
pub static mut USB: Usb = Usb::new(USB0_BASE);
const USB0_BASE: StaticRef<UsbRegisters> =
unsafe { StaticRef::new(0x4011_0000 as *const UsbRegisters) };