English
Language : 

HD6433802H Datasheet, PDF (168/435 Pages) Hitachi Semiconductor – Single-Chip Microcomputer
3. Port pull-up control register 6 (PUCR6)
Bit
Initial value
Read/Write
7
6
5
4
3
2
1
0
PUCR67 PUCR66 PUCR65 PUCR64 PUCR63 PUCR62 PUCR61 PUCR60
0
0
0
0
0
0
0
0
R/W
R/W R/W
R/W R/W R/W
R/W R/W
PUCR6 controls whether the MOS pull-up of each of the port 6 pins P67 to P60 is on or off. When
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.5.3 Pin Functions
Table 8.12 shows the port 6 pin functions.
Table 8.12 Port 6 Pin Functions
Pin
P67/SEG16 to
P60/SEG9
Pin Functions and Selection Method
The pin function depends on bit PCR6n in PCR6 and bits SGS3 to SGS0 in
LPCR.
P67 to P64
SEG3 to SEGS0
Other than 0100, 0101, 0110, 0111,
1000, 1001, 1010, 1011
(n = 7 to 4)
0100, 0101, 0110,
0111, 1000, 1001,
1010, 1011
PCR6n
Pin function
0
P6n input pin
1
P6n output pin
*
SEGn+9 output pin
P63 to P60
SEG3 to SEGS0
PCR6m
Pin function
Other than 0011, 0100, 0101, 0110,
0111, 1000, 1001, 1010
0
P6m input pin
1
P6m output pin
(m = 3 to 0)
0011, 0100, 0101,
0110, 0111, 1000,
1001, 1010
*
SEGn+9 output pin
*: Don’t care
150