Rainbow Electronics ATmega64M1 User Manual

Page 81

Advertising
background image

81

8209A–AVR–08/09

ATmega16M1/32M1/64M1

OC1A, Output Compare Match A output: This pin can serve as an external output for the
Timer/Counter1 Output Compare A. The pin has to be configured as an output (DDD2 set “one”)
to serve this function. The OC1A pin is also the output pin for the PWM mode timer function.

MISO_A: Master Data input, Slave Data output pin for SPI channel. When the SPI is enabled as
a master, this pin is configured as an input regardless of the setting of DDD2. When the SPI is
enabled as a slave, the data direction of this pin is controlled by DDD2. When the pin is forced to
be an input, the pull-up can still be controlled by the PORTD2 bit.

PCINT18, Pin Change Interrupt 18.

• PCINT17/PSCIN0/CLKO – Bit 1

PCSIN0, PSC Digital Input 0.

CLKO, Divided System Clock: The divided system clock can be output on this pin. The divided
system clock will be output if the CKOUT Fuse is programmed, regardless of the PORTD1 and
DDD1 settings. It will also be output during reset.

PCINT17, Pin Change Interrupt 17.

• PCINT16/PSCOUT0A – Bit 0

PSCOUT0A: Output 0 of PSC 0.

PCINT16, Pin Change Interrupt 16.

Table 14-10

and

Table 14-11

relates the alternate functions of Port D to the overriding signals

shown in

Figure 14-5 on page 70

.

Table 14-10. Overriding Signals for Alternate Functions PD7..PD4

Signal Name

PD7/

ACMP0/

PCINT23

PD6/ADC3/

ACMPN2/INT0/

PCINT22

PD5/ADC2/

ACMP2/PCINT21

PD4/ADC1/RXD/

RXLIN/ICP1A/

SCK_A/PCINT20

PUOE

0

0

0

RXEN + SPE •

MSTR • SPIPS

PUOV

0

0

0

PD4 •

PUD

DDOE

0

0

0

RXEN + SPE •

MSTR • SPIPS

DDOV

0

0

0

0

PVOE

0

0

0

SPE • MSTR •
SPIPS

PVOV

0

0

0

DIEOE

ACMP0D

ADC3D + In0en

ADC2D

ADC1D

DIEOV

0

In0en

0

0

DI

INT0

ICP1A

AIO

ACOMP0

ADC3

ACMPM

ADC2

ACOMP2

ADC1

Advertising