arty_e21_chip/uart.rs
1// Licensed under the Apache License, Version 2.0 or the MIT License.
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3// Copyright Tock Contributors 2022.
4
5use kernel::utilities::StaticRef;
6use sifive::uart::UartRegisters;
7
8pub const UART0_BASE: StaticRef<UartRegisters> =
9 unsafe { StaticRef::new(0x2000_0000 as *const UartRegisters) };