EasyManua.ls Logo

Cmsemicon CMS32L051 - Timer Output Register M (Tom)

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 135 / 703
5.3.10 Timer output register m (TOm).
TOm registers is a buffer register for each channel timer output.
The value of this register bit is output from the output pin (TOmn) of each channel timer.
The TOmn bit of this register can be rewritten by software only when the timer output (TOEmn=0) is
disabled. When the timer output is enabled (TOEmn=1), the override operation through the software is
ignored, and its value is changed only through the operation of the timer.
To use the TI00, TO00, TI01/TO01, TI02/TO02, TI03/TO03 pins as port functions, the
corresponding TOmn must be set to 0.
The TOm register is set via a 16-bit memory operation instruction.
The lower 8 bits of the TOm register can be set with TOmL and via 8-bit memory operation
instructions. After the reset signal is generated, the value of the TOm register changes to 0000H.
Figure 5-19 Table of timer output register m (TOm)
Symbol
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TOm
TOmn
Timer output for channel n
0
The output value of the timer is 0.
1
The output value of the timer is 1.
Note: bit15~4 must be placed 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
TAt 3
TOm 2
TAt 1
TOm 0

Table of Contents

Related product manuals