APPENDIX
Appendix 3. Control registers
Port Pi register
b7
b6
b5
b4
b3
b2
Port Pi direction register
b7
b6
b5
b4
b3
b2
20–10
b1
b0
Port Pi register (i = 0 to 8)
(Addresses 2
, 3
16
16
Bit
0
Port Pi
0
1
Port Pi
1
2
Port Pi
2
3
Port Pi
3
4
Port Pi
4
5
Port Pi
5
6
Port Pi
6
7
Port Pi
7
Note: Bits 7 to 4 of the port P3 register cannot be written and are fixed to "0" at reading.
b1
b0
Port Pi direction register (i = 0 to 8)
(Addresses 4
, 5
16
16
Bit
0
Port Pi
0
1
Port Pi
1
2
Port Pi
2
3
Port Pi
3
4
Port Pi
4
5
Port Pi
5
6
Port Pi
6
7
Port Pi
7
Note: Bits 7 to 4 of the port P3 direction register cannot be written and are fixed to "0" at reading.
7751 Group User's Manual
, 6
, 7
, A
, B
, E
, F
16
16
16
16
16
16
Bit name
Data is input/output to/from a pin by
reading/writing from/to the corres-
ponding bit.
0 : "L" level
1 : "H" level
, 8
, 9
, C
, D
, 10
, 11
16
16
16
16
16
Bit name
direction bit
0 : Input mode
direction bit
1 : Output mode
direction bit
direction bit
direction bit
direction bit
direction bit
direction bit
, 12
)
16
Functions
, 14
)
16
16
Functions
(Functions as an input port)
(Functions as an output port)
RW
At reset
RW
Undefined
RW
Undefined
Undefined
RW
RW
Undefined
RW
Undefined
RW
Undefined
RW
Undefined
RW
Undefined
RW
At reset
0
RW
0
RW
0
RW
RW
0
RW
0
RW
0
RW
0
RW
0