Sign in
opensecura
/
sw
/
matcha
/
a1d613e2e1905150162b1132b8fa2913487600fc
/
.
/
chip
/
src
/
usbdev.rs
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
)
};