Rev. 6.00, 08/04, page 214 of 628
Port Pull-Up Control Register 6 (PUCR6)
Bit
Initial value
Read/Write
7
PUCR6
0
R/W
6
PUCR6
0
R/W
5
PUCR6
0
R/W
4
PUCR6
0
R/W
3
PUCR6
0
R/W
0
PUCR6
0
R/W
2
PUCR6
0
R/W
1
PUCR6
0
R/W
2
1
0
5
4
3
7
6
PUCR6 controls whether the MOS pull-up of each of the port 6 pins P6
7
to P6
0
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.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
7
/SEG
16
to
P6
0
/SEG
9
The pin function depends on bits PCR6
7
to PCR6
0
in PCR6 and bits SGS3 to
SGS0 in LPCR.
P6
7
to P6
4
(n = 7 to 4)
SGS3 to SGS0
Other than 0100, 0101, 0110, 0111,
1000, 1001, 1010, 1011
0100, 0101, 0110,
0111, 1000, 1001,
1010, 1011
PCR6
n
0
1
*
Pin function
P6
n
input pin
P6
n
output pin
SEG
n+9
output pin
P6
3
to P6
0
(m = 3 to 0)
SGS3 to SGS0
Other than 0011, 0100, 0101, 0110,
0111, 1000, 1001, 1010
0011, 0100, 0101,
0110, 0111, 1000,
1001, 1010
PCR6
m
0
1
*
Pin function
P6
m
input pin
P6
m
output pin
SEG
m+9
output pin
*
: Don’t care
Содержание H8/38024 Series
Страница 18: ...Rev 6 00 08 04 page xviii of xxx...
Страница 30: ...Rev 6 00 08 04 page xxx of xxx...
Страница 130: ...Rev 6 00 08 04 page 100 of 628...
Страница 216: ...Rev 6 00 08 04 page 186 of 628...
Страница 416: ...Rev 6 00 08 04 page 386 of 628...
Страница 432: ...Rev 6 00 08 04 page 402 of 628...
Страница 468: ...Rev 6 00 08 04 page 438 of 628...
Страница 661: ...H8 38024 H8 38024S H8 38024F ZTAT H8 38124 Group Hardware Manual...