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

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.3 High Speed Output Mode
The high speed output mode is used to toggle a port pin
when a match occurs between the PCA timer and the pre-
loaded value in the compare registers. In this mode, the
CEX output pin (on port 1) associated with the PCA mod-
ule will toggle every time there is a match between the PCA
counter (CH and CL) and the capture registers (CCAPnH
and CCAPnL). To activate this mode, the user must set
TOG, MAT, and ECOM bits in the module’s CCAPMn SFR.
©2003 Silicon Storage Technology, Inc.
Write to
CCAPnH
FIGURE
1
CCAPnL
Write to
8-4: PCA H
0
Reset
Enable
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
IGH
S
PEED
CCAPnH
PCA Timer/Counter
16-bit Comparator
CH
O
CF
UTPUT
ECOMn CAPPn CAPNn MATn
CCAPnL
CR
CL
M
ODE
0
54
Match
High speed output mode is much more accurate than tog-
gling pins since the toggle occurs before branching to an
interrupt. In this case, interrupt latency will not affect the
accuracy of the output. When using high speed output,
using an interrupt is optional. Only if the user wishes to
change the time for the next toggle is it necessary to
update the compare registers. Otherwise, the next toggle
will occur when the PCA timer rolls over and matches the
last compare value. (See Figure 8-4)
CCF4
0
CCF3
TOGn
CCF2
PWMn ECCFn
CCF1
0
CCF0
FlashFlex51 MCU
Toggle
CCAPMn
CCON
S71207-04-000
n=0 to 4
1207 F37.2
PCA Interrupt
CEXn
12/03

Related parts for SST89V564RD-33-I-PJ