Sign in
opensecura
/
sw
/
matcha
/
fe18d1928668b1a6a90ef256150cabcbd9377fd2
/
.
/
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
)
};