sh66p51 SinoWealth Micro-Electronics Corp. Ltd, sh66p51 Datasheet - Page 18

no-image

sh66p51

Manufacturer Part Number
sh66p51
Description
Otp 2k 4-bit Micro-controller With Lcd Driver
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sh66p51AF
Manufacturer:
SINOWEATH
Quantity:
214
Part Number:
sh66p51AF
Manufacturer:
SINOWEATH
Quantity:
20 000
Part Number:
sh66p51AH
Manufacturer:
SINOWEATH
Quantity:
3 000
Part Number:
sh66p51P
Manufacturer:
SINOWEA
Quantity:
8 000
8. I/O PORT
The SH66P51 provides 18 I/O pins. Each I/O pin contains pull-high MOS controllable by the program. Sections below show
the circuit configuration of I/O ports.
PORTA, PORTB, PORTC, PORTD, PORTE
Each of these ports contains 4 bits or 2bits I/O pins (PORTC, PORTD are shared with LCD SEG1 - 8, PORTE are shared
with OSCXI/OSCXO). The port control register can control ON/OFF of the output buffer for port. Port I/O mapping address
is shown as follows:
PA (/B/C/D) CR.n, (n = 0, 1, 2, 3), PECR.n (n = 0, 1)
1: Set I/O as an output buffer.
0: Set I/O as an input buffer (power-on initial).
The following sections show the circuit configuration of the I/O ports.
Address
$0A
$0B
$0C
$1A
$1B
$1C
$08
$09
$18
$19
PULLEN
PCCR.3
PDCR.3
PACR.3
PBCR.3
PB.3
PC.3
PD.3
PA.3
Bit3
I/O Control
-
-
Register
Regiser
DATA
DATA
PBCR.2
PCCR.2
PDCR.2
PACR.2
PB.2
PC.2
PD.2
PA.2
Bit2
Figure 3. Port Configuration Function Block Diagram
-
-
READ DATA IN
PBCR.1
PCCR.1
PDCR.1
PECR.1
PACR.1
PC.1
PD.1
PA.1
PB.1
PE.1
Bit1
READ
PCCR.0
PDCR.0
PACR.0
PBCR.0
PECR.0
18
PB.0
PC.0
PD.0
PE.0
PA.0
Bit0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
GND
V
DD
PORTC input/output control
PORTD input/output control
PORTB input/output control
PORTE input/output control
PORTA input/output control
V
DD
Pull high
Weak
Remarks
PORTC
PORTD
PORTA
PORTB
PORTE
I/O Pad
SH66P51

Related parts for sh66p51