c8051t617 Silicon Laboratories, c8051t617 Datasheet - Page 192

no-image

c8051t617

Manufacturer Part Number
c8051t617
Description
Mixed Signal Byte-programmable Eprom Mcu
Manufacturer
Silicon Laboratories
Datasheet
C8051T610/1/2/3/4/5/6/7
19.2.3. High-Speed Output Mode
In High Speed Output mode, a module’s associated CEXn pin is toggled each time a match occurs
between the PCA Counter and the module's 16-bit capture/compare register (PCA0CPHn and
PCA0CPLn) Setting the TOGn, MATn, and ECOMn bits in the PCA0CPMn register enables the High-
Speed Output mode.
Important Note About Capture/Compare Registers: When writing a 16-bit value to the PCA0 Capture/
Compare registers, the low byte should always be written first. Writing to PCA0CPLn clears the ECOMn bit
to ‘0’; writing to PCA0CPHn sets ECOMn to ‘1’.
192
PCA0CPLn
Write to
Reset
PCA0CPHn
Write to
Figure 19.6. PCA High Speed Output Mode Diagram
0
1
ENB
ENB
PCA
Timebase
Enable
W
M
P
1
6
n
x
E
C
O
M
PCA0CPLn
n
PCA0CPMn
C
A
P
P
n
0 0
PCA0L
C
N
A
P
n
16-bit Comparator
M
A
T
n
O
G
T
n
W
M
P
n
0 x
E
C
C
F
n
PCA0CPHn
PCA0H
Rev. 0.3
Match
Toggle
C
F
C
R
TOGn
0
1
PCA0CN
C
C
F
4
0
1
C
C
F
3
CEXn
C
C
F
2
C
C
F
1
PCA Interrupt
C
C
F
0
Crossbar
Port I/O

Related parts for c8051t617