drv_tim.h 467 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-11-01 Meco Man First version
  9. */
  10. #ifndef __DRV_TIM_H__
  11. #define __DRV_TIM_H__
  12. #include <rtdef.h>
  13. #include <board.h>
  14. void stm32_tim_pclkx_doubler_get(rt_uint32_t *pclk1_doubler, rt_uint32_t *pclk2_doubler);
  15. void stm32_tim_enable_clock(TIM_HandleTypeDef* htim_base);
  16. #endif /* __DRV_TIM_H__ */