summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pi/raspi3-64/driver/drv_timer.h
blob: ebe5536fa5be9ffc4b91aa307a25442f8ffaf5ea (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
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author         Notes
 * 2019-07-29     zdzn           first version
 */
#ifndef __DRV_TIMER_H__
#define __DRV_TIMER_H__

#include <rtthread.h>
#include <rtdevice.h>

typedef struct rt_systimer_device
{
    int  timer_id;
    rt_uint32_t cnt;
} rt_systimer_t;

int rt_hw_systimer_init(void);

#endif