tick.h 377 B

1234567891011121314151617181920
  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/10/28 Bernard The unify RISC-V porting code.
  9. */
  10. #ifndef TICK_H__
  11. #define TICK_H__
  12. /* timer clock is 24 MHZ */
  13. #define TIMER_CLK_FREQ (24000000)
  14. int tick_isr(void);
  15. int rt_hw_tick_init(void);
  16. #endif