EasyManua.ls Logo

Cmsemicon CMS32L051 - Timer Channel Enable Status Register M (Tem)

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 5 Universal Timer Unit (Timer4)
www.mcu.com.cn 130 / 703
5.3.5 Timer channel enable status register m (TEm)
TEm registers are registers that represent the enabled or stopped state of each channel timer
operation.
Each of the TEm registers corresponds to each of the timer channel start register m (TSm) and the
timer channel stop register m (TTm). If each position of the TSm register is set to 1, the corresponding bit
of the TEm register is set to 1. If each bit of the TTm register is set to 1, the corresponding bit is cleared
to 0.
The TEm register is read via 16-bit memory operation instructions.
The lower 8 bits of the TEm register can be read with TEmL and via 8-bit memory operation
instructions. After the reset signal is generated, the value of the TEm register changes to 0000H.
Figure 5-14 Timer Channel Enable Status Registers m (TEm)
Symbol
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
0
Has
TEHm3
Channel 3 is a representation of the operating enable or stop state of the high 8-bit timer in 8-bit
timer mode
0
Running stop state
1
Run enabled status
TEHm1
Channel 1 is a representation of the operating enable or stop status of the high 8-bit timer in 8-bit
timer mode
0
Running stop state
1
Run enabled status
TEmn
A representation of the running enabled or stopped status of channel n
0
Running stop state
1
Run enabled status
When channels 1 and 3 are in 8-bit timer mode, TEm1 and TEm3 indicate the operating enable or stop
state of the low-8-bit timer.
Note m: unit number (m=0,1) n: channel number (n=0~3).
0
0
0
0
TEH
m3
0
TEH
m1
0
0
0
0
0
TEm3
Has2
TEm1
Has0

Table of Contents

Related product manuals