E0C6001 TECHNICAL HARDWARE
I-28
Output port data (0F3H D0, 0F3H D1)
Sets the output data for the output ports.
When 1 is written: High output
When 0 is written: Low output
Reading:
Valid
The output port pins output the data written to the corre-
sponding registers (R00, R01) without changing it. When 1
is written to the register, the output port pin goes high
(V
DD
), and when 0 is written, the output port pin goes low
(V
SS
). After an initial reset, all the registers are set to 0.
R00, R01
Table 4.4.3 lists the output port control bits and their ad-
dresses.
Table 4.4.3 Control bits of output port
Control of output
port
Address
Comment
Register
D3
D2
D1
D0
Name
SR
1
0
0F3H
0
0
R01
R00
0
0
R01
BUZZER
R00
FOUT
0
0
0
0
High
ON
High
ON
Low
OFF
Low
OFF
R01 output port data
Buzzer ON/OFF control register
R00 output port data
Frequency output ON/OFF control register
R/W
R
BUZZER
FOUT
0FDH
XBZR
0
XFOUT1 XFOUT0
R
XBZR
0
XFOUT1
XFOUT0
0
0
0
Buzzer frequency control
2 kHz
High
High
4 kHz
Low
Low
R/W
R/W
FOUT frequency control:
XFOUT1(0), XFOUT0(0) -> F1
XFOUT1(0), XFOUT0(1) -> F2
XFOUT1(1), XFOUT0(0) -> F3
XFOUT1(1), XFOUT0(1) -> F4
Содержание E0C6001
Страница 4: ...Hardware E0C6001 I Technical Hardware ...
Страница 79: ...Software E0C6001 II Technical Software ...