Datasheet

Table Of Contents
Section 9 I/O Ports
Rev. 2.00 Jul. 04, 2007 Page 191 of 692
REJ09B0309-0200
9.10.2 Port Mode Register B (PMRB)
PMRB controls the selection of the port B pin functions.
Bit Bit Name
Initial
Value
R/W Description
7 to 5 All 1 Reserved
These bits are always read as 1 and cannot be
modified.
4 ADTSTCHG 0 R/W TEST/ADTRG Pin Function Switch
Selects whether pin TEST/ADTRG is used as TEST or
as ADTRG.
0: TEST pin
1: ADTRG input pin
For details on the setting of the ADTRG input pin, refer
to section 20.4.2, External Trigger Input Timing.
3 1 Reserved
This bit is always read as 1 and cannot be modified.
2 IRQ3 0 R/W PB2/AN2/IRQ3* Pin Function Switch
Selects whether pin PB2/AN2/IRQ3 is used as
PB2/AN2 or as IRQ3.
0: PB2/AN2 input pin
1: IRQ3 input pin
1 IRQ1 0 R/W PB1/AN1/IRQ1* Pin Function Switch
Selects whether pin PB1/AN1/IRQ1 is used as
PB1/AN1 or as IRQ1.
0: PB1/AN1 input pin
1: IRQ1 input pin
0 IRQ0 0 R/W PB0/AN0/IRQ0* Pin Function Switch
Selects whether pin PB0/AN0/IRQ0 is used as
PB0/AN0 or as IRQ0.
0: PB0/AN0 input pin
1: IRQ0 input pin
Note: * For information on the power supply voltage (V
CC
) and analog power supply voltage
(AV
CC
) when using this pin as an IRQn (n = 0, 1, 3) pin, see section 26.2.2 or 26.4.2,
DC Characteristics.