SST89V58RD Silicon Storage Technology, SST89V58RD Datasheet - Page 50

no-image

SST89V58RD

Manufacturer Part Number
SST89V58RD
Description
FlashFlex51 MCU
Manufacturer
Silicon Storage Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
SST89V58RD2-33-C-NJE
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
SST89V58RD2-33-C-NJE
Manufacturer:
SST
Quantity:
20 000
Part Number:
SST89V58RD2-33-C-TQJE
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
SST89V58RD2-33-I-N
Manufacturer:
SST
Quantity:
134
Part Number:
SST89V58RD2-33-I-NJE
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
SST89V58RD2-33-I-TQJE
Manufacturer:
Microchip Technology
Quantity:
10 000
w
w
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
©2006 Silicon Storage Technology, Inc.
w
FIGURE
CEXn
.
D
CCAPMn
n=0 to 4
a
CCON
8-2: PCA Capture Mode
t
a
S
CF
h
ECOMn CAPPn CAPNn MATn
e
CR
0
SST89E52RD2/RD / SST89E54RD2/RD / SST89E58RD2/RD
SST89V52RD2/RD / SST89V54RD2/RD / SST89V58RD2/RD
e
t
4
U
CCF4
.
c
CCF3
0
o
Capture
50
m
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
S71255-05-000
1255 F24.0
PCA Interrupt
CL
5/06

Related parts for SST89V58RD