![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 410](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609410.webp)
BAT32G1x9 user manual | Chapter 10 Timer M
410 / 1149
Rev.1.02
(1)
PWMOP control register 0 (OPCTL0).
Figure 10-69 Format of PWMOP control register 0
Address: 0x40043C58
after reset:
00H R/W
Symbol
7 6 5 4 3 2 1 0
OPCTL0
HAZAD_SET
Output forced cut-off
hazard
control
Note 1
0
Prohibition
of hazard
countermeasures
1
Enable for hazard
countermeasures
IN_EG
Selection of source/output force cutoff release source edge Note 2,3
0
Rising Edge: Output Forced Cutoff Descending Edge: Output Forced Cutoff Is Lifted
1
Rising Edge: Output Forced Cutoff Release Falling Edge: Output Force Cutoff
IN_SEL1
IN_SEL0
Choice of cut-off source
Note 2, 4, 5
0
0
Do not select
0
1
The output of comparator 0
1
0
INTP0 input
1
1
Event input from EVENTC
ACT
Software deserialization selection when software is released
0
When the HZ_SEL is set to 1 by software, the forced cutoff is lifted and the pulse
output is restored
1
When the HZ_SEL is 1, the forced cutoff is released, and the timing of the pulse
output recovery is as follows: Timer M Complementary PWM mode: The edge of
TMIOC0 selected by OPEDGE is deforced cutoff, the pulse output recovery timer M
reset synchronous PWM mode: When the count value of TM0 is 0000H, the pulse
output recovers the above mode: When the count value of TM0 is 0000H, TMIOj0 (j=
A, B, C, D) When the count value of the forced cut-off TM1 is 0000H, TMIOj1 (j=A, B,
C, D) forced cut-off release.
Note 6
HZ_REL
When the software is dismissed: Output forced cut-off to de-control
Note 7
0
Keep output force cutoff (when output force cutoff is dismissed, HZ_REL bit becomes
0)
1
Forced cutoff is lifted, pulse output resumes
Note 8
The readout value of HZ_REL bit varies depending on the state: usually when the state: 1/0 is written,
and when the 0 readout output is forced to cut off: only 1 can be written and 1 can be read out.
0
HAZAD_SET
IN_EG
IN_SEL1
IN_SEL0
ACT
HZ_REL
HS_SEL