Sign in
opensecura
/
3p
/
lowrisc
/
opentitan
/
6beec5ceacba68eab2bda5effd9b1aba4c11d426
/
.
/
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
);