Port B Input Data Register (Pbpin); Pin Functions - Renesas H8S/2111B Hardware Manual

Bit single-chip microcomputer h8s family / h8s/2100 series
Table of Contents

Advertisement

7.11.3

Port B Input Data Register (PBPIN)

PBPIN indicates the port B state.
Bit
Bit Name
7
PB7PIN
6
PB6PIN
5
PB5PIN
4
PB4PIN
3
PB3PIN
2
PB2PIN
1
PB1PIN
0
PB0PIN
Note:
*
The initial value is determined according to the PB7 to PB0 pin states.
7.11.4

Pin Functions

• PB7/WUE7, PB6/WUE6, PB5/WUE5, PB4/WUE4, PB3/WUE3, PB2/WUE2
The pin function is switched as shown below according to the state of the PBnDDR bit.
PBnDDR
Pin Function
This pin can always be used as the WUEn input pin. (n = 7 to 2)
Note: *
• PB1/WUE1/LSCI
The pin function is switched as shown below according to the combination of the LSCIE bit in
HICR0 of the host interface (LPC) and the PB1DDR bit.
LSCIE
PB1DDR
Pin Function
PB1input pin
Notes: 1. When the LSCIE bit in HICR0 is set to 1, the PB1DDR bit should be cleared to 0.
2. This pin can always be used as the WUE1 or LSCI input pin.
Rev. 1.00, 05/04, page 130 of 544
Initial
Value
R/W
Undefined* R
Undefined* R
Undefined* R
Undefined* R
Undefined* R
Undefined* R
Undefined* R
Undefined* R
0
PBn input pin
0
0
PB1 output pin
WUE1 input pin*
Description
Reading PBPIN always returns the pin states. PBPIN
has the same address as P8DDR. If a write is
performed, data will be written to P8DDR and the port
8 settings will change.
WUEn input pin*
1
2
, LSCI input pin*
1
PBn output pin
1
1
0*
LSCI output pin
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents