1 /* Copyright 2018 SiFive, Inc */
2 /* SPDX-License-Identifier: Apache-2.0 */
4 #ifndef METAL__DRIVERS__SIFIVE_WDOG0_H
5 #define METAL__DRIVERS__SIFIVE_WDOG0_H
8 #include <metal/compiler.h>
10 #include <metal/watchdog.h>
11 #include <metal/clock.h>
12 #include <metal/interrupt.h>
14 struct __metal_driver_vtable_sifive_wdog0 {
15 const struct metal_watchdog_vtable watchdog;
18 struct __metal_driver_sifive_wdog0;
20 __METAL_DECLARE_VTABLE(__metal_driver_vtable_sifive_wdog0)
22 struct __metal_driver_sifive_wdog0 {
23 const struct metal_watchdog watchdog;