General-purpose timers (TIM)
22.2.12.12 TIM_SetCompare1
void TIM_SetCompare1 ( TIM_TypeDef * TIMx, uint32_t
Compare1)
Sets the TIMx Capture Compare1 Register value.
ï‚· TIMx : where x can be 1, 2, 3, 4, 8, 15, 16 or 17 to select the
TIM peripheral.
ï‚· Compare1 : specifies the Capture Compare1 register new
value.
22.2.12.13 TIM_SetCompare2
void TIM_SetCompare2 ( TIM_TypeDef * TIMx, uint32_t
Compare2)
Sets the TIMx Capture Compare2 Register value.
ï‚· TIMx : where x can be 1, 2, 3, 4, 8 or 15 to select the TIM
peripheral.
ï‚· Compare2 : specifies the Capture Compare2 register new
value.
22.2.12.14 TIM_SetCompare3
void TIM_SetCompare3 ( TIM_TypeDef * TIMx, uint32_t
Compare3)
Sets the TIMx Capture Compare3 Register value.
ï‚· TIMx : where x can be 1, 2, 3, 4, 5 or 8 to select the TIM
peripheral.
ï‚· Compare3 : specifies the Capture Compare3 register new