EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 192

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 192 / 703
Figure 5-68 Example of basic timing for operation as a PWM function
TSmn
TEmn
TCRmn
FFFFH
0000H
a
TDRmn
TOmn
INTTMmn
TSmp
TEmp
TCRmp
FFFFH
0000H
TDRmp
INTTMmp
TOmp
a+1
c
a+1
b+1
master
control
channel
slave
channel
a
b
a
c
d
c
d
Note 1. m: Unit number (m= 0,1) n: master channel number (n=0, 2) p: slave channel number (n=0 : p=1, 2, 3, n=2: p=3)
2. TSmn, TSmp: Bit n, p of timer channel start register m (TSm)
TEmn, TEmp: Bit n, p of timer channel enable status register m (TEm)
TCRmn, TCRmp: Timer count register mn, mp (TCRmn, TCRmp)
TDRmn, TDRmp: Timer data register mn, mp (TDRmn, TDRmp)
TOmn, TOmp: TOmn and TOmp pin output signals

Table of Contents

Related product manuals