attiny25v ATMEL Corporation, attiny25v Datasheet - Page 64

no-image

attiny25v

Manufacturer Part Number
attiny25v
Description
Microcontroller With 2/4/8k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
attiny25v-10MU
Manufacturer:
ATMEL
Quantity:
1 650
Part Number:
attiny25v-10MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny25v-10PU
Manufacturer:
Atmel
Quantity:
29 497
Part Number:
attiny25v-10PU
Manufacturer:
Atmel
Quantity:
5 000
Part Number:
attiny25v-10SU
Manufacturer:
ATMEL
Quantity:
2 110
Part Number:
attiny25v-10SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny25v-15ST
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
64
ATtiny25/45/85
• Port B, Bit 0 - MOSI/AIN0/OC0A/OC1A/DI/SDA/AREF/PCINT0
Table 10-4
shown in
• AIN1: Analog Comparator Negative Input. Configure the port pin as input with the internal
• OC0B: Output Compare Match output. The PB1 pin can serve as an external output for the
• OC1A: Output Compare Match output: The PB1 pin can serve as an external output for the
• DO: Three-wire mode Universal Serial Interface Data output. Three-wire mode Data output
• PCINT1: Pin Change Interrupt source 1.
• MOSI: SPI Master Data output, Slave Data input for SPI channel. When the SPI is enabled as
• AIN0: Analog Comparator Positive Input. Configure the port pin as input with the internal pull-
• OC0A: Output Compare Match output. The PB0 pin can serve as an external output for the
• OC1A: Inverted Output Compare Match output: The PB0 pin can serve as an external output
• SDA: Two-wire mode Serial Interface Data.
• AREF: External Analog Reference for ADC. Pullup and output driver are disabled on PB0
• DI: Data Input in USI Three-wire mode. USI Three-wire mode does not override normal port
• PCINT0: Pin Change Interrupt source 0.
pull-up switched off to avoid the digital port function from interfering with the function of the
Analog Comparator.
Timer/Counter0 Compare Match B. The PB1 pin has to be configured as an output (DDB1
set (one)) to serve this function. The OC0B pin is also the output pin for the PWM mode timer
function.
Timer/Counter1 Compare Match B when configured as an output (DDB1 set). The OC1A pin
is also the output pin for the PWM mode timer function.
overrides PORTB1 value and it is driven to the port when data direction bit DDB1 is set (one).
PORTB1 still enables the pull-up, if the direction is input and PORTB1 is set (one).
a Slave, this pin is configured as an input regardless of the setting of DDB0. When the SPI is
enabled as a Master, the data direction of this pin is controlled by DDB0. When the pin is
forced by the SPI to be an input, the pull-up can still be controlled by the PORTB0 bit.
up switched off to avoid the digital port function from interfering with the function of the
Analog Comparator.
Timer/Counter0 Compare Match A when configured as an output (DDB0 set (one)). The
OC0A pin is also the output pin for the PWM mode timer function.
for the Timer/Counter1 Compare Match B when configured as an output (DDB0 set). The
OC1A pin is also the inverted output pin for the PWM mode timer function.
when the pin is used as an external reference or Internal Voltage Reference with external
capacitor at the AREF pin.
functions, so pin must be configure as an input for DI function.
Figure 10-5 on page
and
Table 10-5
relate the alternate functions of Port B to the overriding signals
60.
2586K–AVR–01/08

Related parts for attiny25v