论坛首页
任务活动
问答
论坛专题
登录
注册
泡椒风爪
+ 关注
粉丝
0
|
主题
46
|
回帖
307
加好友
私信
帖子
主题
回复
评论
STM32F103RCT6 定时器相关常用函数
2024-4-1 13:54
ST MCU
34
2250
TIM_ITRxExternalClockConfig /** * @brief Configures the TIMx Internal Trigger as External Clock ...
TIM_ETRClockMode2Config /** * @brief Configures the External clock Mode2 * @param TIMx: where ...
TIM_CtrlPWMOutputs /** * @brief Enables or disables the TIM peripheral Main Outputs. * @param ...
TIM_PWMOutputState void TIM_PWMOutputState(TIM_TypeDef* TIMx, FunctionalState NewState) { /* Check ...
TIM_SetCompare4 /** * @brief Sets the TIMx Capture Compare4 Register value * @param TIMx: wher ...
TIM_SetCompare3 /** * @brief Sets the TIMx Capture Compare3 Register value * @param TIMx: wher ...
TIM_SetCompare2 /** * @brief Sets the TIMx Capture Compare2 Register value * @param TIMx: whe ...
TIM_SetComparex TIM_SetCompare1 /** * @brief Sets the TIMx Capture Compare1 Register value * @ ...
TIM_OC4Init /** * @brief Initializes the TIMx Channel4 according to the specified * par ...
TIM_OC3Init /** * @brief Initializes the TIMx Channel3 according to the specified * pa ...
TIM_OC2Init /** * @brief Initializes the TIMx Channel2 according to the specified * par ...
TIM_OCxInit TIM_OC1Init /** * @brief Initializes the TIMx Channel1 according to the specified ...
TIM_OCInit void TIM_OCInit(TIM_TypeDef* TIMx, TIM_OCInitTypeDef* TIM_OCInitStruct) { uint16_t tmp ...
TIM_ClearITPendingBit /** * @brief Clears the TIMx's interrupt pending bits. * @param TIMx: w ...
TIM_ITConfig /** * @brief Enables or disables the specified TIM interrupts. * @param TIMx: wh ...
TIM_GetCounter
TIM_SetCounter /** * @brief Sets the TIMx Counter Register value * @param TIMx: where x can be ...
TIM_Cmd
TIM_TimeBaseIni
定时器使用配置流程: 以TIM2为例,介绍STM32定时器的基本使用流程。 2.1 定义一个TIM_TimeBaseInitTypeD ...
前一页
2
3
4
5
6
7
8
后一页
2
3
近期访客