EasyManua.ls Logo

Cmsemicon CMS32L051 - Timer Output Enable Register M (Toem)

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 134 / 703
5.3.9 Timer output enable register m (TOEm)
The TOEm register is a register that sets the enable or disallow timer outputs for each channel.
For channel n that enable timer output, the value of the TOmn bit of the timer output register m
(TOm) described later cannot be rewritten by software, and the value reflected by the timer output
function of the counting operation is from the timer's output pin (TOmn) output.
The TOEm register is set via a 16-bit memory operation command.
The lower 8 bits of the TOEm register can be set with TOEmL and via 8-bit memory operation
instructions. After the reset signal is generated, the value of the TOEm register changes to 0000H.
Figure 5-18 Table of timer output enable register m (TOEm)
Symbol
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
0
TOEm
TOEmn
Enable/disable the timer output of channel n
0
Disable timer output.
The operation of the timer is not reflected to the TOmn bit, fixed output.
TOmn bits can be written and TOmn bits are output from the TOmn pin.
1
Enable timer output.
The operation of the timer is reflected to the TOmn bit, resulting in an output waveform. Ignore the
write operation of the TOmn bit.
Note: bit15~4 must be set to 0.
Remark: m: unit number (m=0,1) n: channel number (n=0~3).
0
0
0
0
0
0
0
0
0
0
0
0
TOE
m3
TOE
m2
TOE
m1
TOE
m0

Table of Contents

Related product manuals