c8051t602 Silicon Laboratories, c8051t602 Datasheet - Page 149

no-image

c8051t602

Manufacturer Part Number
c8051t602
Description
Mixed Signal Otp Eprom Mcu Family
Manufacturer
Silicon Laboratories
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
c8051t602-GS
Manufacturer:
Silicon Labs
Quantity:
135
17.2.4. Frequency Output Mode
Frequency Output Mode produces a programmable-frequency square wave on the module’s associated
CEXn pin. The capture/compare module high byte holds the number of PCA clocks to count before the out-
put is toggled. The frequency of the square wave is then defined by Equation 17.1.
Where F
PCA0MD. The lower byte of the capture/compare module is compared to the PCA counter low byte; on a
match, CEXn is toggled and the offset held in the high byte is added to the matched value in PCA0CPLn.
Frequency Output Mode is enabled by setting the ECOMn, TOGn, and PWMn bits in the PCA0CPMn reg-
ister.
PCA0CPLn
Write to
Reset
PCA
PCA0CPHn
Write to
is the frequency of the clock selected by the CPS2–0 bits in the PCA mode register,
0
1
ENB
ENB
Equation 17.1. Square Wave Frequency Output
Figure 17.7. PCA Frequency Output Mode
W
M
P
1
6
n
x
O
M
E
C
n
PCA0CPMn
C
A
P
P
n
0 0 0
C
N
A
P
n
M
A
T
n
O
G
T
n
W
M
P
n
C
C
E
F
n
x
PCA Timebase
F
CEXn
Enable
=
Comparator
PCA0CPLn
Rev. 0.5
---------------------------------------- -
2
PCA0L
×
8-bit
PCA0CPHn
F
PCA
match
C8051T600/1/2/3/4/5
Enable
Adder
8-bit Adder
Toggle
TOGn
0
1
CEXn
PCA0CPHn
Crossbar
Port I/O
149

Related parts for c8051t602