|
SH7729R Datasheet, PDF (660/855 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series | |||
|
◁ |
19.3 Register Descriptions
19.3.1 Port A Control Register (PACR)
Bit: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PA7 PA7 PA6 PA6 PA5 PA5 PA4 PA4 PA3 PA3 PA2 PA2 PA1 PA1 PA0 PA0
MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0
Initial value: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
The port A control register (PACR) is a 16-bit readable/writable register that selects the pin
functions. PACR is initialized to H'0000 by a power-on reset, but is not initialized by a manual
reset, in standby mode, or in sleep mode.
Bits 15 and 14âPA7 Mode 1 and 0 (PA7MD1, PA7MD0)
Bits 13 and 12âPA6 Mode 1 and 0 (PA6MD1, PA6MD0)
Bits 11 and 10âPA5 Mode 1 and 0 (PA5MD1, PA5MD0)
Bits 9 and 8âPA4 Mode 1 and 0 (PA4MD1, PA4MD0)
Bits 7 and 6âPA3 Mode 1 and 0 (PA3MD1, PA3MD0)
Bits 5 and 4âPA2 Mode 1 and 0 (PA2MD1, PA2MD0)
Bits 3 and 2âPA1 Mode 1 and 0 (PA1MD1, PA1MD0)
Bits 1 and 0âPA0 Mode 1 and 0 (PA0MD1, PA0MD0)
These bits select the pin functions and perform input pull-up MOS control.
Bit (2n + 1)
PAnMD1
0
0
1
1
Bit 2n
PAnMD0
0
1
0
1
Pin Function
Other function (see table 19.1)
Port output
Port input (Pull-up MOS: on)
Port input (Pull-up MOS: off)
(Initial value)
(n = 0 to 7)
Rev. 5.0, 09/03, page 614 of 806
|
▷ |