SN32F760 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 100
Version 2.0
8.5.2
Edge-aligned Down-counting Mode
The timer count TC[15:0] will be reset to the value of CT16Bn_MR3 after resetting counter or TC reaches 0. Besides,
TC is blocked while the value of CT16Bn_MR3 is zero.
The following figure shows a timer configured to reset the count in Edge-aligned down-counting mode. The
register is set to 54. After TC reaches 0, the timer count is
reset and loaded from the value of CT16Bn_MR3.
PCLK
CT16Bn_TC
4
3
2
1
0
54
53
52
8.5.3
Center-aligned Counting Mode
In Center-aligned counting mode, TC counts up from 0 to the value of CT16Bn_MR3, and then counts down to 0
alternatively. Besides, TC is blocked while the value of CT16Bn_MR3 is zero.
The following figure shows a timer in Center-aligned counting mode. The
PCLK
CT16Bn_TC
1
2
3
4
5
4
3
2
0