rt-thread-official/bsp/raspberry-pi/raspi3-64/driver/drv_rtc.h

27 lines
433 B
C
Raw Permalink Normal View History

2020-01-10 10:38:21 +08:00
/*
2021-03-14 12:58:10 +08:00
* Copyright (c) 2006-2021, RT-Thread Development Team
2020-01-10 10:38:21 +08:00
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2019-07-29 zdzn first version
*/
#ifndef __DRV_RTC_H__
#define __DRV_RTC_H__
#include <rtthread.h>
#include <rtdevice.h>
2021-11-24 11:38:00 +08:00
#include <sys/time.h>
2020-01-10 10:38:21 +08:00
#include "bcm283x.h"
struct rt_rtc_device
{
struct rt_device device;
};
int rt_hw_rtc_init(void);
#endif