EasyManua.ls Logo

Abov MC97F6108A - Page 118

Default Icon
256 pages
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...
11. PPG (Programmable Pulse Generator) MC97F6108A User’s manual
118
PPGCR1 (PPG Control Register 1) : E3H
7
6
5
4
3
2
1
0
-
-
PPGIN[2]
PPGIN[1]
PPGIN[0]
-
PPG_PE
-
-
-
R/W
R/W
R/W
-
R/W
-
Initial value: 00H
PPGIN[2:0]
Select Event Counter and Comparator Interrupt for Capture mode
PPGIN2
PPGIN1
PPGIN0
description
0
0
0
-
0
0
1
-
0
1
0
CMP3IF
0
1
1
CMP1IF
1
0
0
CMP4IF
1
0
1
-
1
1
0
-
1
1
1
-
PPG_PE
Control PPG Output port
0
PPG Output disable
1
PPG Output enable
0
Negative (Duty Match: Clear)
1
Positive (Duty Match: Set)
NOTE: PPGCR1.0 must be kept 0.
PPGCR2 (PPG Control Register 1) : E1H
7
6
5
4
3
2
1
0
PPGIF
TPPGOen
PPGMD
DETC3EN
DETC1EN
-
-
-
R/W
R/W
R/W
R/W
R/W
-
-
-
Initial value: 00H
PPGIF
If PPG Interrupt occurs, the flag becomes 1’. The flag can be cleared by writing
a 1 to bit. It is also cleared automatically after interrupt service routine is
served.
0
PPG interrupt not occurred
1
PPG interrupt occurred
TPPGOen
PPG output to P07 port
0
disable
1
enable
PPGMD
PPG start source control
0
Only PPGST can start PPG
1
PPGST or comparator 0 interrupt flag can start PPG
DETC3EN
Enable PPG output disable by comparator 3 interrupt (one period)
0
Disable
1
Enable
DETC1EN
Enable PPG output disable by comparator 1 interrupt
0
Disable
1
Enable

Table of Contents

Related product manuals