380
(3) Mode 7
In mode 7, port C pins function as PWM outputs and I/O ports and I/O can be specified for each
pin in bit units. When each bit in PCDDR is set to 1, the corresponding pin functions as an output
port and when the bit is cleared to 0, the pin functions as an input port.
Figure 10-15 shows the port C pin functions.
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
(input / output) / PWM1 (output)
(input / output) / PWM0 (output)
(input / output)
(input / output)
(input / output)
(input / output)
(input / output)
(input / output)
Port C
Figure 10-15 Port C Pin Functions (Mode 7)