hd64338023s Renesas Electronics Corporation., hd64338023s Datasheet - Page 280

no-image

hd64338023s

Manufacturer Part Number
hd64338023s
Description
Renesas 8-bit Single-chip Microcomputer Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 8 I/O Ports
Port Data Register B (PDRB)
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)
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
These bits select whether pin PB
Bit 3
IRQ1
0
1
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
Bit
Read/Write
Bit
Initial value
Read/Write
3
/AN
Description
Functions as PB
Functions as
3
/
I R Q
PB
R
7
7
1
1
7
Pin Function Switch (IRQ1)
I R Q
PB
3
R
/AN
6
6
1
1
/TMIC input pin
3
6
/AN
3
input pin
3
/
I R Q
PB
R
5
5
1
5
1
is used as PB
PB
R
4
4
1
4
3
IRQ1
/AN
R/W
PB
R
I R Q
3
3
0
3
3
or as
1
/TMIC pin.
PB
I R Q
R
2
2
1
3
2
pin function. Upon reset,
1
/TMIC.
PB
R
1
1
1
1
(initial value)
PB
R
0
0
1
0

Related parts for hd64338023s