beautypg.com

2 port 6 data register (p6dr), 3 port 6 pull-up mos control register (kmpcr) – Renesas H8S/2111B User Manual

Page 147

background image

Rev. 1.00, 05/04, page 113 of 544

7.6.2

Port 6 Data Register (P6DR)

P6DR stores output data for port 6.

Bit Bit

Name

Initial
Value R/W Description

7 P67DR

0 R/W

6 P66DR

0 R/W

5 P65DR

0 R/W

4 P64DR

0 R/W

3 P63DR

0 R/W

2 P62DR

0 R/W

1 P61DR

0 R/W

0 P60DR

0 R/W

If a port 6 read is performed while P6DDR bits are set
to 1, the P6DR values are read directly, regardless of
the actual pin states. If a port 6 read is performed while
P6DDR bits are cleared to 0, the pin states are read.

7.6.3

Port 6 Pull-Up MOS Control Register (KMPCR)

KMPCR controls the port 6 on-chip input pull-up MOSs on a bit-by-bit basis.

Bit Bit

Name

Initial
Value R/W Description

7 KM7PCR

0 R/W

6 KM6PCR

0 R/W

5 KM5PCR

0 R/W

4 KM4PCR

0 R/W

3 KM3PCR

0 R/W

2 KM2PCR

0 R/W

1 KM1PCR

0 R/W

0 KM0PCR

0 R/W

The input pull-up MOS is turned on when a KMPCR bit
is set to 1 with the input port setting.

This manual is related to the following products: