|
7733 Datasheet, PDF (559/940 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPENDIX
Appendix 3. Control registers
Port Pi register
b7 b6 b5 b4 b3 b2 b1 b0
Port Pi register (i = 0 to 8)
(addresses 216,316,616,716,A16,B16,E16,F16,1216)
Bit
Bit name
Functions
At reset RW
0 Port Pi0âs pin
1 Port Pi1âs pin
2 Port Pi2âs pin
3 Port Pi3âs pin
Data is input from or output to
a pin by reading from or writing to
the corresponding bit.
0: âLâ level
1: âHâ level
Undefined RW
Undefined RW
Undefined RW
Undefined RW
4 Port Pi4âs pin
Undefined RW
5 Port Pi5âs pin
Undefined RW
6 Port Pi6âs pin
Undefined RW
7 Port Pi7âs pin
Undefined RW
Note: Writing to bits 4 to 7 of the port P3 register is invalid and these bits are fixed to â0â when they are
read.
Port Pi direction register
b7 b6 b5 b4 b3 b2 b1 b0
Port Pi direction register (i = 0 to 8)
(addresses 416,516,816,916,C16,D16,1016,1116,1416)
Bit
Bit name
Functions
At reset RW
0 Port Pi0 direction selection bit 0: Input mode
0
RW
(The port functions as an input port.)
1 Port Pi1 direction selection bit
0
RW
1: Output mode
2 Port Pi2 direction selection bit
(The port functions as an output port.)
0
RW
3 Port Pi3 direction selection bit
0
RW
4 Port Pi4 direction selection bit
0
RW
5 Port Pi5 direction selection bit
0
RW
6 Port Pi6 direction selection bit
0
RW
7 Port Pi7 direction selection bit
0
RW
Note: Writing to bits 4 to 7 of the port P3 direction register is invalid and these bits are fixed to â0â
when they are read.
Bit
b7
b6
b5
b4
b3
b2
b1
b0
Corresponding
pin
Pi7
Pi6
Pi5
Pi4
Pi3
Pi2
Pi1
Pi0
7733 Group Userâs Manual
21-11
|
▷ |