Datasheet

Section 8 I/O Ports
Rev. 2.00 Sep. 28, 2009 Page 236 of 870
REJ09B0429-0200
8.12.4 Pin Functions
Port C pins can also function as the PWMX output and IIC_2, IIC_3, and IIC_4 input/output pins.
The relationship between register setting values and pin functions are as follows.
PC7/PWX3
The pin function is switched as shown below according to the combination of the OEB bit in
DACR of the PWMX and the PC7DDR bit.
OEB 0 1
PC7DDR 0 1 X
Pin function PC7 input pin PC7 output pin PWX3 output pin
[Legend] X: Don't care.
PC6/PWX2
The pin function is switched as shown below according to the combination of the OEA bit in
DACR of the PWMX and the PC6DDR bit.
OEA 0 1
PC6DDR 0 1 X
Pin function PC6 input pin PC6 output pin PWX2 output pin
[Legend] X: Don't care.
PC5/SDA4
The pin function is switched as shown below according to the combination of the ICE bit in
ICCR of the IIC_4 and the PC5DDR bit.
ICE 0 1
PC5DDR 0 1 X
Pin function PC5 input pin PC5 output pin SDA4 input/output pin
[Legend] X: Don't care.