1
0

drv_timer.h 457 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2019-07-29 zdzn first version
  9. */
  10. #ifndef __DRV_TIMER_H__
  11. #define __DRV_TIMER_H__
  12. #include <rtthread.h>
  13. #include <rtdevice.h>
  14. #include "board.h"
  15. typedef struct rt_systimer_device
  16. {
  17. int timer_id;
  18. rt_uint32_t cnt;
  19. } rt_systimer_t;
  20. int rt_hw_systimer_init(void);
  21. #endif