SST89V564RD-33-I-PJ SST [Silicon Storage Technology, Inc], SST89V564RD-33-I-PJ Datasheet - Page 52

no-image

SST89V564RD-33-I-PJ

Manufacturer Part Number
SST89V564RD-33-I-PJ
Description
FlashFlex51 MCU
Manufacturer
SST [Silicon Storage Technology, Inc]
Datasheet
Data Sheet
8.3.1 Capture Mode
Capture mode is used to capture the PCA timer/counter
value into a module’s capture registers (CCAPnH and
CCAPnL). The capture will occur on a positive edge, nega-
tive edge, or both on the corresponding module’s pin. To
use one of the PCA modules in the capture mode, either
one or both the CCAPM bits CAPN and CAPP for that
module must be set. When a valid transition occurs on the
CEX pin corresponding to the module used, the PCA hard-
ware loads the 16-bit value of the PCA counter register (CH
©2003 Silicon Storage Technology, Inc.
FIGURE
CEXn
CCAPMn
n=0 to 4
CCON
8-2: PCA C
CF
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
APTURE
ECOMn CAPPn CAPNn MATn
CR
0
M
ODE
CCF4
CCF3
0
Capture
52
CCF2
TOGn
and CL) into the module’s capture registers (CCAPnL and
CCAPnH). If the CCFn bit for the module in the CCON
SFR and the ECCFn bit in the CCAPMn SFR are set, then
an interrupt will be generated. In the interrupt service rou-
tine, the 16-bit capture value must be saved in RAM before
the next event capture occurs. If a subsequent capture
occurred, the original capture values would be lost. After
flag event flag has been set by hardware, the user must
clear the flag in software. (See Figure 8-2)
0
PWMn ECCFn
CCF1
0
CCF0
CCAPnH
PCA Timer/Counter
CH
FlashFlex51 MCU
CCAPnL
S71207-04-000
1207 F35.1
PCA Interrupt
CL
12/03

Related parts for SST89V564RD-33-I-PJ