English
Language : 

MG74PG1A08 Datasheet, PDF (73/127 Pages) Megawin Technology Co., Ltd – Interrupt controller
15.4.3. High Speed Output Mode
In this mode the CEX0 output associated with the PCA module will toggle each time a match occurs between the
PCA counter and the module’s capture registers. To activate this mode, the TOG0, MAT0 and ECOM0 bits in the
module’s CCAPM0 register must be set.
Figure 15–6. PCA High Speed Output Mode (n=0)
Write to
CCAPnH
Write to
CCAPnL Reset
CF
CR
--
--
CCAPnH CCAPnL
1
0
Enable
16-Bit Comparator
--
--
--
CCF0 CCON
(To CCFn)
Match
PCA Interrupt
PCA Timer/Counter
CH
CL
overflow
reload
Toggle
CEXn
CHRL
CLRL
PnINV ECOMn CAPPn CAPNn MATn
0
1
0
0
1
TOGn
1
PWMn ECCFn CCAPMn, n= 0
0
0/1
MEGAWIN
MG74PG1A08 Data Sheet
73