M37161M8/MA/MF-XXXSP/FP,M37161EFSP/FP
Port P3 direction register
b7 b6 b5 b4 b3 b2 b1 b0
1
0
Port P3 direction register (D3) [Address 00C716
]
B
0
Name
Functions
After reset
0
R
R
W
W
0 : Port P3
0
0
input
Port P3 direction register
(See note 1)
1 : Port P3
output
1
0 : Port P3
1
1
input
0
0
0
0
0
0
0
R
R
R
R
R
R
R
W
W
W
–
1 : Port P3
output
OUToutput selection bit
(OUTS) (See note 2)
0 : 2 value output
1 : 3 value output
2
3
4
5
6
Fix this bit to "0."
Nothing is assigned fix this bits.
When this bit are read out, the value are "0."
Fix this bit to "1."
–
Timer 3 (T3SC)
Refer to explanation of a timer
W
W
Timer 2 (T2SC)
0 : P2
1 : P1
4
6
input
input
7
Notes 1: When using the port as the I2C-BUS interface, set the Port P3 Direction Register to 1.
2: Use the Clock Control Register 3 (address 021216) bit 5 to select the binary
output level of OUT.
Fig. 8.4.3 Port P3 direction register
Timer return setting register
b7 b6 b5 b4 b3 b2 b1 b0
1
1
0
0
0
0
0
Timer return setting register (TMS) [Address 00CC16
]
B
Name
Functions
After reset
R
W
0 to
4
Fix these bits to "0."
0
R W
Fix this bit to "1."
0
0
R W
R W
5,6
7
STOP mode return selection bit
(TMS)
0: Timer Count "07FF16"
1: Timer Count Variable
Fig. 8.4.4 Timer return setting register
Rev.1.00 2003.11.25 page 24 of 128