]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1_FreedomStudio/freedom-metal/metal/drivers/sifive_rtc0.h
Update RISCC-V-RV32-SiFive_HiFive1_FreedomStudio project to latest tools and metal...
[freertos] / FreeRTOS / Demo / RISC-V_RV32_SiFive_HiFive1_FreedomStudio / freedom-metal / metal / drivers / sifive_rtc0.h
1 /* Copyright 2019 SiFive, Inc */
2 /* SPDX-License-Identifier: Apache-2.0 */
3
4 #ifndef METAL__DRIVERS__SIFIVE_RTC0_H
5 #define METAL__DRIVERS__SIFIVE_RTC0_H
6
7 #include <metal/io.h>
8 #include <metal/compiler.h>
9
10 #include <metal/clock.h>
11 #include <metal/interrupt.h>
12 #include <metal/rtc.h>
13
14 struct __metal_driver_vtable_sifive_rtc0 {
15     const struct metal_rtc_vtable rtc;
16 };
17
18 struct __metal_driver_sifive_rtc0;
19
20 __METAL_DECLARE_VTABLE(__metal_driver_vtable_sifive_rtc0)
21
22 struct __metal_driver_sifive_rtc0 {
23     const struct metal_rtc rtc;
24 };
25
26 #endif
27