|
HD64F38024HV Datasheet, PDF (262/684 Pages) Renesas Technology Corp – Hardware Manual Renesas 8-Bit Single-Chip Microcomputer H8 Family/H8/300L Super Low Power Series | |||
|
◁ |
Section 8 I/O Ports
Port Data Register B (PDRB)
Bit
7
6
5
4
3
2
1
0
PB7
PB6
PB5
PB4
PB 3
PB2
PB1
PB 0
Read/Write
R
R
R
R
R
R
R
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
â¯
6
5
â¯
â¯
1
1
â¯
â¯
4
3
2
â¯
IRQ1
â¯
1
0
1
â¯
R/W
â¯
1
0
â¯
â¯
1
1
â¯
â¯
PMRB is an 8-bit read/write register controlling the selection of the PB3 pin function. Upon reset,
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âPB3/AN3/IRQ1 Pin Function Switch (IRQ1)
These bits select whether pin PB3/AN3/IRQ1 is used as PB3/AN3 or as IRQ1/TMIC.
Bit 3
IRQ1
Description
0
1
Note:
Functions as PB3/AN3 input pin
Functions as IRQ1/TMIC input pin
Rising or falling edge sensing can be selected for the IRQ1/TMIC pin.
(initial value)
For TMIC pin setting information, see the Timer More Register C (TMC) description in section
9.3.2, Register Descriptions.
Rev. 8.00 Mar. 09, 2010 Page 240 of 658
REJ09B0042-0800
|
▷ |