Hitachi H8/3827R Series Hardware Manual page 166

Table of Contents

Advertisement

3. Port pull-up control register 6 (PUCR6)
Bit
PUCR6
Initial value
Read/Write
R/W
PUCR6 controls whether the MOS pull-up of each of the port 6 pins P6
a PCR6 bit is cleared to 0, setting the corresponding PUCR6 bit to 1 turns on the MOS pull-up for
the corresponding pin, while clearing the bit to 0 turns off the MOS pull-up.
Upon reset, PUCR6 is initialized to H'00.
8.6.3
Pin Functions
Table 8.15 shows the port 6 pin functions.
Table 8.15 Port 6 Pin Functions
Pin
Pin Functions and Selection Method
P6
/SEG
to
The pin function depends on bit PCR6n in PCR6 and bits SGS3 to SGS0 in
7
16
P6
/SEG
LPCR.
0
9
SEG3 to SEGS0
8.6.4
Pin States
Table 8.16 shows the port 6 pin states in each operating mode.
Table 8.16 Port 6 Pin States
Pin
Reset
P6
/SEG
to
High-
7
16
P6
/SEG
impedance
0
9
Note: * A high-level signal is output when the MOS pull-up is in the on state.
7
6
5
PUCR6
PUCR6
7
6
0
0
0
R/W
R/W
PCR6
n
Pin function
Sleep
Subsleep Standby
Retains
Retains
previous
previous
state
state
4
3
PUCR6
PUCR6
4
5
0
0
R/W
R/W
00**, 010*
0
P6
input pin
P6
n
High-
impedance*
2
1
PUCR6
PUCR6
3
1
2
0
0
R/W
R/W
to P6
is on or off. When
7
0
(n = 7 to 0)
011**, 1***
1
output pin
SEG
n
n+9
Watch
Subactive Active
Retains
Functional Functional
previous
state
0
PUCR6
0
0
R/W
*
output pin
*: Don't care
159

Advertisement

Table of Contents
loading

Table of Contents