MC97F2664
86
April 11, 2014 Ver. 1.4
9.8 P5 Port
9.8.1 P5 Port Description
P5 is 8-bit I/O port. P5 control registers consist of P5 data register (P5), P5 direction register (P5IO), P5 pull-up
resistor selection register (P5PU) and P5 open-drain selection register (P5OD). Refer to the port function
selection registers for the P5 function selection.
9.8.2 Register description for P5
P5 (P5 Data Register) : B0H
7
6
5
4
3
2
1
0
P57
P56
P55
P54
P53
P52
P51
P50
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P5[7:0]
I/O Data
P5IO (P5 Direction Register) : C9H
7
6
5
4
3
2
1
0
P57IO
P56IO
P55IO
P54IO
P53IO
P52IO
P51IO
P50IO
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P5IO[7:0]
P5 Data I/O Direction
0
Input
1
Output
NOTE) EINT10-EINT13/EC0-EC3 function possible when input
P5PU (P5 Pull-up Resistor Selection Register) : 100DH (XSFR)
7
6
5
4
3
2
1
0
P57PU
P56PU
P55PU
P54PU
P53PU
P52PU
P51PU
P50PU
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P5PU[7:0]
Configure Pull-up Resistor of P5 Port
0
Disable
1
Enable
P5OD (P5 Open-drain Selection Register) : 1005H (XSFR)
7
6
5
4
3
2
1
0
P57OD
P56OD
P55OD
P54OD
P53OD
P52OD
P51OD
P50OD
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P5OD[7:0]
Configure Open-drain of P5 Port
0
Push-pull output
1
Open-drain output
Содержание MC97F2664
Страница 20: ...MC97F2664 20 April 11 2014 Ver 1 4 4 Package Diagram Figure 4 1 64 Pin LQFP 1010 Package...
Страница 21: ...MC97F2664 April 11 2014 Ver 1 4 21 Figure 4 2 64 Pin LQFP 1414 Package...
Страница 22: ...MC97F2664 22 April 11 2014 Ver 1 4 Figure 4 3 64 Pin QFN Package...
Страница 23: ...MC97F2664 April 11 2014 Ver 1 4 23 Figure 4 4 44 Pin MQFP 1010 Package...