MC96F6432
June 22, 2018 Ver. 2.9
83
9.8 P5 Port
9.8.1 P5 Port Description
P5 is 6-bit I/O port. P5 control registers consist of P5 data register (P5), P5 direction register (P5IO) and P5
pull-up resistor selection register (P5PU) . 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
–
–
P55
P54
P53
P52
P51
P50
–
–
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P5[5:0]
I/O Data
Note) Do not use the
“direct bit test and branch” instruction for input port, more detail information is at
Appendix B.
Example) Avoid direct input port bit test and branch condition as below
If(P50)
→
if(P5 & 0x01)
P5IO (P5 Direction Register) : D1H
7
6
5
4
3
2
1
0
–
–
P55IO
P54IO
P53IO
P52IO
P51IO
P50IO
–
–
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P5IO[5:0]
P5 Data I/O Direction
0
Input
1
Output
NOTE: EC0/EINT8/EINT10/BLNK function possible when input
P5PU (P5 Pull-up Resistor Selection Register) : 95H
7
6
5
4
3
2
1
0
–
–
P55PU
P54PU
P53PU
P52PU
P51PU
P50PU
–
–
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
P5PU[5:0]
Configure Pull-up Resistor of P5 Port
0
Disable
1
Enable
Summary of Contents for MC96F6432 Series
Page 24: ...MC96F6432 24 June 22 2018 Ver 2 9 4 Package Diagram Figure 4 1 48 Pin LQFP 0707 Package...
Page 25: ...MC96F6432 June 22 2018 Ver 2 9 25 Figure 4 2 44 Pin MQFP Package...
Page 26: ...MC96F6432 26 June 22 2018 Ver 2 9 Figure 4 3 32 Pin LQFP Package...
Page 27: ...MC96F6432 June 22 2018 Ver 2 9 27 Figure 4 4 32 Pin SOP Package...
Page 28: ...MC96F6432 28 June 22 2018 Ver 2 9 Figure 4 5 28 Pin SOP Package...