Register Configuration - Renesas Hitachi H8S/2194 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

11.2.2

Register Configuration

Table 11.3 shows the port 0 register configuration.
Table 11.3 Port 0 Register Configuration
Name
Port mode register 0
Port data register 0
Note:
Lower 16 bits of the address.
*
(1) Port Mode Register 0 (PMR0)
Bit :
7
PMR07
Initial value :
0
R/W :
R/W
Port mode register 0 (PMR0) controls switching of each pin function of port 0. The switching is
specified in a unit of bit.
PMR0 is an 8-bit read/write enable register. When reset, PMR0 is initialized to H'00.
Bits 7 to 0: P07/AN7 to P00/AN0 Pin Switching (PMR07 to PMR00)
PMR07 to PMR00 sets whether the P0n/ANn pin is used as a P0n input pin or an ANn pin for
the analog input channel of an A/D converter.
Bit n
PMR0n
Description
0
The P0n/ANn pin functions as a P0n input pin
1
The P0n/ANn pin functions as an ANn input pin
Abbrev.
R/W
PMR0
R/W
PDR0
R
6
5
PMR06
PMR05
PMR04
0
0
R/W
R/W
Size
Byte
Byte
4
3
PMR03
PMR02
0
0
R/W
R/W
R/W
Rev. 2.0, 11/00, page 239 of 1037
Initial Value
Address*
H'00
H'FFCD
H'FFC0
2
1
0
PMR01
PMR00
0
0
0
R/W
R/W
(Initial value)
(n = 7 to 0)

Advertisement

Table of Contents
loading

Table of Contents