CMS32L051 User Manual |Chapter 5 Universal Timer Unit (Timer4)
www.mcu.com.cn 129 / 703
5.3.4 Timer status register mn (TSRmn)
The TSRmn register is a register that represents the overflow status of the channel n counter.
The TSRmn register is only valid in capture mode (MDmn3 to MDmn1=010B) and capture & single count
mode (MDmn3 to MDmn1=110B). Refer to Table 5-4 for the change of OVF bits and the set/clear conditions in
each operation mode.
The TSRmn register is read through 16-bit memory operation instructions.
The lower 8 bits of the TSRmn register can be read with TSRmnL and via 8-bit memory operation
instructions. After the reset signal is generated, the value of the TSRmn register changes to 0000H.
Figure 5-13 Table of timer status register mn (TSRmn)
Symbol
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TSRmn
Note m: Unit number (m=0, 1) n: channel number (n=0~3).
Table 5-4 OVF bit change and set/clear conditions in each operating mode