2022-11-07 11:58:39 +08:00
|
|
|
/*
|
2023-01-09 10:20:16 +08:00
|
|
|
* Copyright (c) 2006-2023, RT-Thread Development Team
|
2022-11-07 11:58:39 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2022-11-01 Meco Man First version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __DRV_TIM_H__
|
|
|
|
#define __DRV_TIM_H__
|
|
|
|
|
|
|
|
#include <rtdef.h>
|
2023-03-15 09:13:07 +08:00
|
|
|
#include <board.h>
|
2022-11-07 11:58:39 +08:00
|
|
|
|
|
|
|
void stm32_tim_pclkx_doubler_get(rt_uint32_t *pclk1_doubler, rt_uint32_t *pclk2_doubler);
|
2023-03-15 09:13:07 +08:00
|
|
|
void stm32_tim_enable_clock(TIM_HandleTypeDef* htim_base);
|
2022-11-07 11:58:39 +08:00
|
|
|
|
|
|
|
#endif /* __DRV_TIM_H__ */
|