Renesas H8 Series Hardware Manual page 280

8-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

Section 8 I/O Ports
Port Data Register B (PDRB)
Bit
7
PB
Read/Write
R
Reading PDRB always gives the pin states. However, if a port B pin is selected as an analog input
channel for the A/D converter by AMR bits CH3 to CH0, that pin reads 0 regardless of the input
voltage.
Port Mode Register B (PMRB)
Bit
7
Initial value
1
Read/Write
PMRB is an 8-bit read/write register controlling the selection of the PB
PMRB is initialized to H'F7.
Bits 7 to 4 and 2 to 0—Reserved
Bits 7 to 4 and 2 to 0 are reserved; they are always read as 1 and cannot be modified.
Bit 3—PB
/AN
/
3
3
I R Q
These bits select whether pin PB
Bit 3
IRQ1
Description
0
Functions as PB
1
Functions as
Note: Rising or falling edge sensing can be selected for the
For TMIC pin setting information, see the Timer More Register C (TMC) description in section
9.3.2, Register Descriptions.
Rev. 7.00 Mar 10, 2005 page 238 of 652
REJ09B0042-0700
6
5
PB
PB
7
6
5
R
R
6
5
1
1
Pin Function Switch (IRQ1)
1
/AN
/
3
3
I R Q
/AN
input pin
3
3
/TMIC input pin
1
I R Q
4
3
PB
PB
3
4
R
R
4
3
IRQ1
1
0
R/W
is used as PB
/AN
or as
1
3
3
1
I R Q
2
1
PB
PB
2
1
R
R
2
1
1
1
pin function. Upon reset,
3
/TMIC.
1
I R Q
(initial value)
/TMIC pin.
0
PB
0
R
0
1

Advertisement

Table of Contents
loading

Table of Contents