Register Descriptions; Port A Control Register (Pacr) - Hitachi SH7709S Hardware Manual

Superh risc engine
Table of Contents

Advertisement

18.3

Register Descriptions

18.3.1

Port A Control Register (PACR)

Bit:
15
14
PA7
PA7
PA6
MD1
MD0
MD1
Initial value:
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)
Bit 2n
PAnMD1
PAnMD0
0
0
0
1
1
0
1
1
574
13
12
11
10
9
PA6
PA5
PA5
PA4
MD0
MD1
MD0
MD1
0
0
0
0
0
Pin Function
Other function (see table 18.1)
Port output
Port input (Pull-up MOS: on)
Port input (Pull-up MOS: off)
8
7
6
5
PA4
PA3
PA3
PA2
PA2
MD0
MD1
MD0
MD1
MD0
0
0
0
0
4
3
2
1
0
PA1
PA1
PA0
PA0
MD1
MD0
MD1
MD0
0
0
0
0
0
(Initial value)
(n = 0 to 7)

Advertisement

Table of Contents
loading

Table of Contents