English
Language : 

W78IRD2 Datasheet, PDF (47/76 Pages) Winbond – 8-BIT MICROCONTROLLER
W78IRD2
11.1 PCA Capture Mode
To use one of the PCA modules in capture mode, either one or both of the CCAPM bits CAPN and
CAPP for that module must be set.
CEXn
CF
CR
-
CCF4 CCF3 CCF2 CCF1 CCF0
CCON(D8H)
To CCFn
PCA INTERRUPT
PCA Timer/Counter
CH
CL
Capture
CCAPnH CCAPnL
-
ECOMn CAPPn CAPNn MATn TOGn PWMn ECCFn
CCAPMn, n=0~4
(DAH~DEH)
0
0
0
0
Figure 11-2 PCA Capture Mode
In capture mode, the external CEXn input is sampled for a transition. When a valid transition occurs,
the PCA hardware loads the value of the PCA counter registers CH and CL into the module’s capture
registers (CCAPnH and CCAPnL). If the CCFn (CCON) and ECCFn (CCAPMn) bits are set, then an
interrupt is generated.
- 47 -
Publication Release Date: October 2, 2006
Revision A7