beautypg.com

5 port b input pull-up mos – Renesas H8S/2111B User Manual

Page 165

background image

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

• PB0/WUE0/LSMI

The pin function is switched as shown below according to the combination of the LSMIE bit in
HICR0 of the host interface (LPC) and the PB0DDR bit.

LSMIE 0

1

PB0DDR 0 1

0*

1

PB0 input pin

PB0 output pin

LSMI output pin

Pin Function

WUE0 input pin*

2

,

LSMI input pin*

2

Notes: 1. When the LSMIE bit in HICR0 is set to 1, the PB0DDR bit should be cleared to 0.

2. This pin can always be used as the

WUE0 or LSMI input pin.

7.11.5

Port B Input Pull-Up MOS

Port B has an on-chip input pull-up MOS function that can be controlled by software. This input
pull-up MOS function can be specified as on or off on a bit-by-bit basis.

When a pin is designated as an on-chip peripheral module output pin, the input pull-up MOS is
always off.

Table 7.7 summarizes the input pull-up MOS states.

Table 7.7

Input Pull-Up MOS States (Port B)

Reset

Hardware Standby Mode Software Standby Mode

In Other Operations

Off Off

On/Off

On/Off

[Legend]
Off:

Input pull-up MOS is always off.

On/Off: On when the pin is in the input state, PBDDR = 0, and PBODR = 1; otherwise off.

This manual is related to the following products: