drv_timer.h 346 B

1234567891011121314151617
  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. * 2018-11-22 Jesven first version
  9. */
  10. #ifndef DRV_TIMER_H__
  11. #define DRV_TIMER_H__
  12. void timer_init(int timer, unsigned int preload);
  13. void timer_clear_pending(int timer);
  14. #endif