[MCU framework] [BSP layer] [cx32l003][bsp_pwm] PWM configuration and use
PWM mode
The pulse width modulation mode can be generated by TIM1_ The ARR register determines the frequency, which is determined by TIM1_ The ccrx register determines the signal of the duty cycle. At TIM1_ The OCxM bit in ccmrx register is written to '110' (PWM mode 1) or '111' (PWM mode 2), and each OCx output channel can be independently se ...
Posted by bharrison89 on Fri, 15 Oct 2021 19:49:21 -0700