SN32F760 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 99
Version 2.0
8.5 TIMER OPERATION
8.5.1
Edge-aligned Up-counting Mode
The following figure shows a timer configured to reset the count (TC) and generate an interrupt on match in
Edge-aligned up-counting mode. The
the end of the timer cycle where the match occurs, the timer count is reset. This gives a full length cycle to the match
value. The interrupt indicating that a match occurred is generated in the next clock after the timer reached the match
value.
PCLK
CT16Bn_PC
CT16Bn_TC
TC Reset
Interrupt
2
0
1
2
0
1
2
0
4
5
6
0
The following figure shows a timer configured to stop and generate an interrupt on match in Edge-aligned up-counting
mode. The
register is set to 6. In the next clock after the timer
reaches the match value, the CEN bit in
register is cleared, and the interrupt indicating that a
match occurred is generated.
PCLK
CT16Bn_PC
CT16Bn_TC
CEN bit
Interrupt
2
0
1
2
0
4
5
6
1
0
Содержание SN32F755
Страница 218: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 218 Version 2 0 22 2 LQFP 64 PIN...
Страница 220: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 220 Version 2 0 22 4 QFN 46 PIN...
Страница 221: ...SN32F760 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 221 Version 2 0 22 5 QFN 33 PIN 5x5...