Datasheet

Section 7 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 153 of 910
REJ09B0350-0300
7.1.10 Pin Functions
The pin function is switched according to the setting of the PORTS bit in PTCNT2. (Ports B to D,
F, and H)
(1) PORTS = 0
DDR 0 1
NOCR 0 1
ODR 0 1 0 1 0 1
N-ch. driver Off On Off On Off
P-ch. driver Off Off On Off
Input pull-up
MOS
Off On Off
Pin function Input pin Output pin
(2) PORTS = 1
DDR 0 1
NOCR 0 1
ODR 0 1 0 1
PCR 0 1
N-ch. Driver Off On Off On Off
P-ch. Driver Off Off On Off
Input pull-up
MOS
Off On Off
Pin Function Input pin Output pin