244
Port 3 Register (PORT3)
7
P37
—
*
R
Bit
Initial value
Read/Write
6
P36
—
*
R
5
P35
—
*
R
4
P34
—
*
R
3
P33
—
*
R
2
P32
—
*
R
1
P31
—
*
R
0
P30
—
*
R
Note:
*
Determined by the state of pins P37 to P30.
PORT3 is an 8-bit read-dedicated register, which reflects the state of pins. Write is disenabled.
Always carry out writing off output data of port 3 pins (P37 to P30) to P3DR without fail.
When P3DDR is set to 1, if port 3 is read, the values of P3DR are read. When P3DDR is cleared to
0, if port 3 is read, the states of pins are read out.
P3DDR and P3DR are initialized by a reset and in hardware standby mode, so PORT3 is
determined by the state of the pins. The previous state is maintained in software standby mode.
Port 3 Open Drain Control Register (P3ODR)
7
P37ODR
0
R/W
Bit
Initial value
Read/Write
6
P36ODR
0
R/W
5
P35ODR
0
R/W
4
P34ODR
0
R/W
3
P33ODR
0
R/W
2
P32ODR
0
R/W
1
P31ODR
0
R/W
0
P30ODR
0
R/W
P3ODR is an 8-bit readable/writable register, which controls the on/off of port 3 pins (P37 to P30).
By setting P3ODR to 1, the port 3 pins become an open drain output, and when cleared to 0 they
become CMOS output.
P3ODR is initialized to H'00 by a reset and in hardware standby mode. The previous state is
maintained in software standby mode.
Summary of Contents for H8S/2645
Page 4: ......
Page 16: ......
Page 58: ...26 ...
Page 110: ...78 ...
Page 120: ...88 ...
Page 132: ...100 ...
Page 160: ...128 ...
Page 172: ...140 ...
Page 418: ...386 ...
Page 444: ...412 ...
Page 530: ...498 ...
Page 562: ...530 ...
Page 642: ...610 ...
Page 662: ...630 ...
Page 688: ...656 ...
Page 756: ...724 ...
Page 784: ...752 ...
Page 812: ...780 ...
Page 837: ...805 A 2 Instruction Codes Table A 2 shows the instruction codes ...
Page 1152: ...1120 ...