|
SM5K3 Datasheet, PDF (13/28 Pages) Sharp Electrionic Components – 4-Bit Single-Chip Microcomputers(Controllers With 10-Bit A/D Converter) | |||
|
◁ |
SM5K3/SM5K4/SM5K5
Output Latch Register and Mode Register
The SM5K3/5K4/5K5 contain 6 output-latch
registers and 8 mode-registers which either latch
contents of output ports or control some functions
of the SM5K3/5K4/5K5.
These registers, their functions and available
transfer instructions are shown in Table 1 below.
An output latch register sets the output level of the
pin to which it is connected.
Refer to the section of âMODE REGISTERSâ
concerning about the details mode registers.
Table 1 Output Latch Registers and Mode Registers
SYMBOL
P0
P1
FUNCTION
Output register
Input register
OUT INL OUT IN/TPB ANP/ORP
O
â
O
â
O
â
O
â
O
â
P2
I/O register (independent)
â
â
O
O
O
P3
Input register (and analog input)
â
â
â
O
â
R3
Control register
â
â
O
â
â
P4
I/O register
P5
I/O register
â
â
O
O
O
â
â
O
O
O
R8â A/D data/control register
R9â A/D data register
RAâ Timer/counter register
RBâ Timer/modulo register
RC
Timer control register
â
â
O
O
â
â
â
O
O
â
â
â
O
O
â
â
â
O
O
â
â
â
O
O
â
RE
Interrupt mask register
RF
P2 directional register
â 8-bit register
â
â
O
O
â
â
â
O
O
â
NOTE :
Bit 4 (R84) in the R8 register is read only.
(Read or write operation of this bit does not affect any other operation.)
CONTENT OF BL
0
1
2
3
3
4
5
8
9
A
B
C
E
F
- 13 -
|
▷ |