Datasheet
Section 10 I/O Ports
Rev. 6.00 Mar. 18, 2010 Page 332 of 982
REJ09B0054-0600
• PA0/A16
The pin functions are switched as shown below according to the combination of operating
mode, AE3 to AE0 bits in PFCR and the PA0DDR bit.
Operating
mode
Modes 4 to 6 Mode 7
AE3 to AE0 Other than
(B'0xxx or B'1000)
B'0xxx or B'1000 ⎯
PA0DDR ⎯ 0 1 0 1
Pin functions A16 output pin PA0 input pin PA0 output
pin
*
PA0 input pin PA0 output
pin
*
Note: * When PA0ODR in PAODR is set to 1, the corresponding pin functions as NMOS open
drain output.
10.6.7 Input Pull-Up MOS States in Port A
Port A has a built-in input pull-up MOS function that can be controlled by software. Input pull-up
MOS can be specified as on or off on an individual bit basis.
Table 10.2 summarizes the input pull-up MOS states.
Table 10.2 Input Pull-Up MOS States in Port A
Pin States
Power-on
Reset
Hardware
Standby
Mode
Manual
Reset
Software
Standby
Mode
In Other
Operations
Address output,
Port output, SCI
output
OFF OFF OFF OFF OFF
Port input, SCI input ON/OFF ON/OFF ON/OFF
Legend:
OFF: Input pull-up MOS is always off.
ON/OFF: On when PADDR = 0 and PAPCR = 1; otherwise off.
10.7 Port B
Port B is a 8-bit I/O port. Port B has the following registers.
• Port B data direction register (PBDDR)
• Port B data register (PBDR)
• Port B register (PORTB)