28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1409 of 1658
REJ09B0261-0100
28.2.12 Port M Control Register (PMCR) PMCR is a 16-bit readable/writable register that selects the pin function and controls the input pull-up MOS.
01234567891011121315 14
0000111111111111
PM0
MD0
PM0
MD1
PM1
MD0
PM1
MD1
——
R/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/W R/W
Bit:
Initial value:
R/W:
Bit Bit Name
Initial
value R/W Description
15 to 4 All 1 R/W Reserved
These bits are always read as 1, and the write value
should always be 1.
3
2
PM1MD1
PM1MD0
0
0
R/W
R/W
PM1 Mode
00: LBSC module (BREQ/BSACK)
01: Port output
10: Port input (pull-up MOS: Off)
11: Port input (pull-up MOS: On)
1
0
PM0MD1
PM0MD0
0
0
R/W
R/W
PM1 Mode
00: LBSC module (BACK/BSREQ)
01: Port output
10: Port input (pull-up MOS: Off)
11: Port input (pull-up MOS: On)