summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/freedom-metal/metal/drivers/sifive_wdog0.h
blob: 12b143d58c29521a7f3f45704d79f8b92d7310cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* Copyright 2018 SiFive, Inc */
/* SPDX-License-Identifier: Apache-2.0 */

#ifndef METAL__DRIVERS__SIFIVE_WDOG0_H
#define METAL__DRIVERS__SIFIVE_WDOG0_H

#include <metal/io.h>
#include <metal/compiler.h>

#include <metal/watchdog.h>
#include <metal/clock.h>
#include <metal/interrupt.h>

struct __metal_driver_vtable_sifive_wdog0 {
    const struct metal_watchdog_vtable watchdog;
};

struct __metal_driver_sifive_wdog0;

__METAL_DECLARE_VTABLE(__metal_driver_vtable_sifive_wdog0)

struct __metal_driver_sifive_wdog0 {
    const struct metal_watchdog watchdog;
};

#endif