EasyManua.ls Logo

Cmsemicon CMS32L051 - EPWM Force Truncated Output Selection Register (EPWMSTL); EPWM Status Register (EPWMSTR)

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 6 Function of EPWM Output Control Circuit
www.mcu.com.cn 209 / 703
6.2.5 EPWM force truncated output selection register (EPWMSTL)
The output state of the EPWMO terminal when the EPWMSTL register is forcibly truncated.
The EPWMSTL registers are set via 16-bit memory operation instructions.
After the reset signal is generated, the value of this register becomes 00H.
Figure 6-5 Format of EPWM force truncated output selection register (EPWMSTL)
Address: 0x4004440C
After reset:
0000H
R/
W
symbol
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
EPWMSTL
IO71
IO70
IO61
IO60
IO51
IO50
IO41
IO40
IO31
IO30
IO21
IO20
IO11
IO10
IO01
IO00
IONo. 1
IOn0
Selection of terminal output when truncated
0
0
Truncation is prohibited
0
1
HI-Z output
1
0
Low level output
1
1
High level output
Note n: Channel number (n=0~7).
6.2.6 EPWM status register (EPWMSTR)
The EPWMSTR register clears the forced truncation signal and displays the truncation status. If the clear
trigger bit HZCLR is set to 1, the truancy state is released. When the truncation status indicates that the
signal of the SHTFLG is high, it enters the forced truncation state. bit0 is write-only bit, and the read value is
always 0. bit7~1 is read-only.
The EPWMSTR registers are set via 8-bit memory operation instructions.
After the reset signal is generated, the value of this register becomes 00H.
Figure 6-6 Format of EPWM status register (EPWMSTR)
Address: 0x4004410
After reset: 0000H
R/W
symbol
7
6
5
4
3
2
1
0
EPWMSTR
0
0
0
0
0
0
SHTFLG
HZCLR
SHTFLG
Force truncation status flag
0
Normal output state
1
Force truncation state
HZCLR
Software clearance to force truncation signals
0
-
1
The software dismisses the truncation state
Note: When the Output Selection Register (EPWMSTL) is set to disable cut-off by forcing truncation, the SHTFLG is set
to 1 because of the input from an external truncation source, but truncation is not performed.

Table of Contents

Related product manuals