English
Language : 

SM59D03G2 Datasheet, PDF (20/67 Pages) SyncMOS Technologies,Inc – 8-Bits Micro-controller
5 Port 0 – Port 4
SM59D03G2
8-Bits Micro-controller
8KB+ ISP Flash & 1KB RAM embedded
Port 0 ~ Port 4 are the general purpose IO of this controller. Port 4[3:0] is available with 44-pin
PLCC or QFP package only, not for 40-pin package. Most of the ports are multiplexed with the
other outputs, e.g., Port 3[0] is also used as RXD in the UART application. Port0 is open-drain in
the input and output high condition, so external pull-up resistors are required. As for the other ports,
the pull-up resistors are built internally.
For general purpose applications, every pin can be assigned to either high or low independently
because their SFRs are bit addressable as given below:
Mnemonic: P0
Address: 80h
7
6
5
4
3
2
1
0 Reset
P0.7 P0.6 P0.5 P0.4 P0.3 P0.2 P0.1 P0.0 FFh
P0.7~ 0: Port0[7] ~ Port0[0]
Mnemonic: P1
Address: 90h
7
6
5
4
3
2
1
0 Reset
P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 FFh
P1.7~ 0: Port1[7] ~ Port1[0]
Mnemonic: P2
Address: A0h
7
6
5
4
3
2
1
0 Reset
P2.7 P2.6 P2.5 P2.4 P2.3 P2.2 P2.1 P2.0 FFh
P2.7~ 0: Port2[7] ~ Port2[0]
Mnemonic: P3
Address: B0h
7
6
5
4
3
2
1
0 Reset
P3.7 P3.6 P3.5 P3.4 P3.3 P3.2 P3.1 P3.0 FFh
P3.7~ 0: Port3[7] ~ Port3[0]
Mnemonic: P4
7
6
5
x
x
x
Address: D8h
4
3
2
1
0 Reset
x
P4.3 P4.2 P4.1 P4.0 xFh
P4.3~ 0: Port4[3] ~ Port4[0]
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M030
20
Ver.C SM59D03G2 07/2009