Rev. 2.00, 09/03, page 522 of 690
20.12.1
Register Description
Port M has the following register. For details on the register address and access size, see section
24, List of Registers.
•
Port M data register (PMDR)
20.12.2
Port M Data Register (PMDR)
PMDR is an 8-bit readable/writable register that stores data for pins PTM6 and PTM4 to PTM0.
Bits PM6DT and PM4DT to PM0DT correspond to pins PTM6 and PTM4 to PTM0. When the pin
function is general output port, if the port is read, the value of the corresponding PMDR bit is
returned directly. When the function is general input port, if the port is read, the corresponding pin
level is read.
Bit
Bit
Name
Initial
Value
R/W
Description
7
—
0
R
Reserved
This bit is always read as 0. The write value should
always be 0.
6
PM6DT
0
R/W
Table 20.12 shows the function of PMDR.
5
—
0
R
Reserved
This bit is always read as 0. The write value should
always be 0.
4 to 0
PM4DT
to
PM0DT
0
R/W
Table 20.12 shows the function of PMDR.
Table 20.12 Port M Data Register (PMDR) Read/Write Operations
PMCR State
PMnMD1 PMnMD0 Pin State
Read
Write
0
0
Other function PMDR value
Data can be written to PMDR but no effect
on pin state.
1
Output
PMDR value
Written data is output from the pin.
1
0
Input (Pull-up
MOS on)
Pin state
Data can be written to PMDR but no effect
on pin state.
1
Input (Pull-up
MOS off)
Pin state
Data can be written to PMDR but no effect
on pin state.
Note:
n = 0 to 3 and 6
Содержание SH7705
Страница 2: ......
Страница 46: ...Rev 2 00 09 03 page xlvi of xlvi Appendix Table A 1 I O Port States in Each Processing State 679 ...
Страница 70: ...Rev 2 00 09 03 page 24 of 690 ...
Страница 194: ...Rev 2 00 09 03 page 148 of 690 ...
Страница 284: ...Rev 2 00 09 03 page 238 of 690 ...
Страница 338: ...Rev 2 00 09 03 page 292 of 690 ...
Страница 354: ...Rev 2 00 09 03 page 308 of 690 ...
Страница 374: ...Rev 2 00 09 03 page 328 of 690 ...
Страница 420: ...Rev 2 00 09 03 page 374 of 690 ...
Страница 476: ...Rev 2 00 09 03 page 430 of 690 ...
Страница 482: ...Rev 2 00 09 03 page 436 of 690 ...
Страница 552: ...Rev 2 00 09 03 page 506 of 690 ...
Страница 630: ...Rev 2 00 09 03 page 584 of 690 ...
Страница 739: ...SH7705 Group Hardware Manual REJ09B0082 0200O ...