Sign in
opensecura
/
3p
/
lowrisc
/
opentitan
/
84abeacabc1b1bbfac4f13ef9d0c94f4ff5c1759
/
.
/
sw
/
device
/
tock
/
chips
/
earlgrey
/
src
/
uart.rs
blob: 3c7c6ee662f8108b468cdda18d7fe51fff223d20 [
file
] [
log
] [
blame
]
use
opentitan_common
::
uart
::
Uart
;
use
crate
::
chip
;
use
crate
::
chip_config
::
DEVICE_CONFIG
;
pub
static
mut
UART0_BAUDRATE
:
u32
=
DEVICE_CONFIG
.
uart_baudrate
;
pub
static
mut
UART0
:
Uart
=
Uart
::
new
(
0x4000
_0000
,
chip
::
CHIP_FREQ
);