Rev. 6.00, 08/04, page 231 of 628
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
Initial value
Read/Write
7
1
6
1
5
1
4
1
3
IRQ1
0
R/W
0
1
2
1
1
1
PMRB is an 8-bit read/write register controlling the selection of the PB
3
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—PB
3
/AN
3
/
IRQ
IRQ
IRQ
IRQ
1
Pin Function Switch (IRQ1)
These bits select whether pin PB
3
/AN
3
/
IRQ
1
is used as PB
3
/AN
3
or as
IRQ
1
/TMIC.
Bit 3
IRQ1
Description
0
Functions as PB
3
/AN
3
input pin
(initial value)
1
Functions as
IRQ
1
/TMIC input pin
Note:
Rising or falling edge sensing can be selected for the
IRQ
1
/TMIC pin.
For TMIC pin setting information, see the Timer More Register C (TMC) description in section
9.3.2, Register Descriptions.
Summary of Contents for H8/38024 Series
Page 18: ...Rev 6 00 08 04 page xviii of xxx...
Page 30: ...Rev 6 00 08 04 page xxx of xxx...
Page 130: ...Rev 6 00 08 04 page 100 of 628...
Page 216: ...Rev 6 00 08 04 page 186 of 628...
Page 416: ...Rev 6 00 08 04 page 386 of 628...
Page 432: ...Rev 6 00 08 04 page 402 of 628...
Page 468: ...Rev 6 00 08 04 page 438 of 628...
Page 661: ...H8 38024 H8 38024S H8 38024F ZTAT H8 38124 Group Hardware Manual...