Attiny15l – Rainbow Electronics ATtiny15L User Manual

Page 53

Advertising
background image

53

ATtiny15L

1187E–AVR–06/02

• MISO/OC1A/AIN1 – PORT B, Bit 1

In Serial Programming mode, this pin serves as the serial data output, MISO.

In Normal mode, this pin can serve as Timer/Counter1 output compare match output
(OC1A). See the Timer/Counter1 description for further details, and how to enable the
output. The OC1A pin is also the output pin for PWM mode timer function.

This pin also serves as the negative input of the On-chip Analog Comparator.

• MOSI/AIN0/AREF – PORT B, Bit 0

In Serial Programming mode, this pin serves as the serial data input, MOSI.

In Normal mode, this pin also serves as the positive input of the On-chip Analog
Comparator.

In ATtiny15L, this pin can be chosen to be the reference voltage for the ADC. Refer to
the section “The Analog-to-Digital Converter, Analog Multiplexer, and Gain Stages” for
details.

Advertising