SST89E554RC-40-C-NJE Silicon Storage Tech, SST89E554RC-40-C-NJE Datasheet - Page 56

no-image

SST89E554RC-40-C-NJE

Manufacturer Part Number
SST89E554RC-40-C-NJE
Description
Semiconductors and Actives, Microprocessors, Microcontrollers
Manufacturer
Silicon Storage Tech
Datasheet
EOL 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.
©2007 Silicon Storage Technology, Inc.
Write to
CCAPnH
FIGURE
1
CCAPnL
Write to
8-4: PCA H
0
Reset
Enable
IGH
S
PEED
CCAPnH
PCA Timer/Counter
16-bit Comparator
CH
O
CF
UTPUT
CCAPnL
ECOMn CAPPn CAPNn MATn
CL
M
CR
ODE
0
56
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
SST89E564RD / SST89V564RD
SST89E554RC / SST89V554RC
TOGn
CCF2
PWMn ECCFn
CCF1
0
CCF0
FlashFlex MCU
Toggle
CCAPMn
CCON
S71207-08-EOL
n=0 to 4
1207 F37.2
PCA Interrupt
CEXn
1/07

Related parts for SST89E554RC-40-C-NJE