Sonic Alert msm85c154hvs Clock Radio User Manual


 
MSM80C154S/83C154S/85C154HVS
74
4.4.2.8 I/O control register (IOCON)
IOCON 0F8H T32 SERR IZC P3HZ P2HZ P1HZ ALF
Name Address
MSB LSB
76543210
Bit location Flag Function
IOCON.0
IOCON.1
IOCON.2
IOCON.3
IOCON.4
IOCON.5
IOCON.6
IOCON.7
ALF
P1HZ
P2HZ
P3HZ
IZC
SERR
T32
If CPU power down mode (PD, HPD) is activated with this bit set
to "1", the outputs from ports 0, 1, 2, and 3 are switched to floating
status.
When this bit is "0", ports 0, 1, 2, and 3 are in output mode.
Port 1 becomes a high impedance input port when this bit is "1".
Port 2 becomes a high impedance input port when this bit is "1".
Port 3 becomes a high impedance input port when this bit is "1".
The 10 kohm pull-up resistance for ports 1, 2, and 3 is switched off
when this bit is "1", leaving only the 100 kohm pull-up resistance.
Serial port reception error flag.
This flag is set to "1" if an overrun or framing error is generated
when data is received at a serial port. The flag is reset by software.
Timer/counters 0 and 1 are connected serially to form a 32-bit
timer/counter when this bit is set to "1". TF1 of TCON is set if a
carry is generated in the 32-bit timer/counter.
The output data is "0" if the bit is read.
This bit should not be set to "1".