SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 116
Version 1.1
10.6.2 PWM Mode 2
PWMn is 1 when TC<MRn during Up-counting period
PWMn is 1 when TC≤MRn during Down-counting period
Not support in Center-aligned counting mode
Take Edge-aligned up-counting Mode as example,
1.
All single edge controlled PWM outputs go HIGH at the beginning of each PWM cycle (timer is set to zero)
unless their match value in CT16Bn_MR0~3 registers is equal to zero.
2.
Each PWM output will go LOW when its match value is reached. If no match occurs, the PWM output remains
continuously HIGH.
3.
If a match value larger than the PWM cycle length is written to the CT16Bn_MR0~3 registers, and the PWM
signal is LOW already, then the PWM signal will go HIGH on the next start of the next PWM cycle.
4.
If a match register contains the same value as the timer reset value (the PWM cycle length), then the PWM
output will be reset to HIGH on the next clock tick. Therefore, the PWM output will always consist of a one clock
tick wide low pulse with a period determined by the PWM cycle length.
CT16Bn_MR0=0
0
7
8
4
CT16Bn_MR1=4
PWM0
PWM1
CT16Bn_MR2=7
PWM2
CT16Bn_TC
7
0
4
Up-counting period
Down-counting period
CT16Bn_MR0=0
8
1
0
4
CT16Bn_MR1=4
PWM0
PWM1
CT16Bn_MR2=1
PWM2
CT16Bn_TC
1
8
4
Down-counting period
Up-counting period
Содержание SN32F280 Series
Страница 222: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 222 Version 1 1 A1D16...
Страница 263: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 263 Version 1 1 26 2 LQFP 64 PIN...
Страница 264: ...SN32F280 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 264 Version 1 1 26 3 LQFP 48 PIN...