sh6616 SinoWealth Micro-Electronics Corp. Ltd, sh6616 Datasheet - Page 8

no-image

sh6616

Manufacturer Part Number
sh6616
Description
16k 4-bit Microcontroller
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet
5.3. Programming
- I/O ports can be accessed with the read/write system register.
- Memory-mapped addresses are listed as follows:
- Before reading PORTB I/O bits, the user needs to output "1" to the same bit.
5. I/O Ports
5.1. Functional Description
- CMOS type output port
- PMOS as pull-up for input on Port B
- Output low initially for Port A
- Output high initially for Port B
- Operates same as data memory for arithmetic and logic instructions
5.2. Circuit Diagrams (PORTA and PORTB)
Address
PORTA
$0A
$0B
$0C
$08
$09
A
B
V
DD
Bit 3
PA.3
PB.3
-
-
-
C
Q
Bit 2
PA.2
PB.2
Latch
-
-
-
R
BUS
RESET
Bit 1
PA.1
PB.1
OP1
-
-
8
PA.0
PB.0
Bit 0
OP0
-
-
PORTB
A
B
V
DD
R/W
R/W
W
R
-
-
Weak Driving, Pull-up resistor - 20K Ω
C
Optional Register
Reserved
Reserved
Remarks
Q
PORTB
PORTA
Latch
S
SH6616
D
BUS
RESET

Related parts for sh6616