e310x/
watchdog.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
5//! Watchdog registers.
6
7use kernel::utilities::StaticRef;
8
9use sifive::watchdog::WatchdogRegisters;
10
11pub const WATCHDOG_BASE: StaticRef<WatchdogRegisters> =
12    unsafe { StaticRef::new(0x1000_0000 as *const WatchdogRegisters) };