ATtiny25 Automotive Atmel Corporation, ATtiny25 Automotive Datasheet - Page 54

no-image

ATtiny25 Automotive

Manufacturer Part Number
ATtiny25 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny25 Automotive

Flash (kbytes)
2 Kbytes
Pin Count
8
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
4
Hardware Qtouch Acquisition
No
Max I/o Pins
6
Ext Interrupts
6
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.12
Eeprom (bytes)
128
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
5
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes
10.3.1
10.3.2
54
ATtiny25/45/85
MCU Control Register – MCUCR
Alternate Functions of Port B
• Bit 6 – PUD: Pull-up Disable
When this bit is written to one, the pull-ups in the I/O ports are disabled even if the DDxn and
PORTxn Registers are configured to enable the pull-ups ({DDxn, PORTxn} = 0b01). See
figuring the Pin” on page 48
The Port B pins with alternate function are shown in
Table 10-3.
Notes:
• Port B, Bit 5 - RESET/dW/ADC0/PCINT5
RESET: External Reset input is active low and enabled by unprogramming (“1”) the RSTDISBL
Fuse. Pullup is activated and output driver and digital input are deactivated when the pin is used
as the RESET pin.
dW: When the debugWIRE Enable (DWEN) Fuse is programmed and Lock bits are unpro-
grammed, the debugWIRE system within the target device is activated. The RESET port pin is
configured as a wire-AND (open-drain) bi-directional I/O pin with pull-up enabled and becomes
the communication gateway between target and emulator.
ADC0: Analog to Digital Converter, Channel 0
PCINT5: Pin Change Interrupt source 5.
Bit
Read/Write
Initial Value
1. Reset Pin, debugWIRE I/O, ADC Input Channel or Pin Change Interrupt.
2. XOSC Output, Divided System Clock Output, ADC Input Channel, Timer/Counter1 Output
3. XOSC Input / External Clock Input, ADC Input Channel, Timer/Counter1 Inverted Output Com-
4. Serial Clock Input, ADC Input Channel, Timer/Counter Clock Input, USI Clock (three-wire
5. Serial Data Input, Analog Comparator Negative Input, Timer/Counter0 Output Compare and
6. Serial Data Output, Analog Comparator Positive Input, Timer/Counter0 Output Compare and
Port Pin
Compare and PWM Output B, or Pin Change Interrupt.
pare and PWM Output B, or Pin Change Interrupt.
mode), USI Clock (two-wire mode), External Interrupt, or Pin Change Interrupt.
PWM Output B, Timer/Counter1 Output Compare and PWM Output A, USI Data Output
(three-wire mode), or Pin Change Interrupt.
PWM Output A, Timer/Counter1 Inverted Output Compare and PWM Output A, USI Data Input
(three-wire mode), USI Data (two-wire mode), Voltage Ref., or Pin Change Interrupt.
PB5
PB4
PB3
PB2
PB1
PB0
BODS
Port B Pins Alternate Functions
R/W
7
0
PUD
R/W
6
0
for more details about this feature.
Alternate Function
RESET / dW / ADC0 / PCINT5
XTAL2 / CLKO / ADC2 / OC1B / PCINT4
XTAL1 / ADC3 / OC1B / PCINT3
SCK / ADC1 / T0 / USCK / SCL / INT0 / PCINT2
MISO / AIN1 / OC0B / OC1A / DO / PCINT1
MOSI / AIN0 / OC0A / OC1A / DI / SDA / AREF / PCINT0
R/W
SE
5
0
SM1
R/W
4
0
.
Table
SM0
R/W
3
0
(1)
(3)
10-3.
BODSE
R/W
2
0
(2)
(5)
ISC01
R/W
(4)
1
0
ISC00
(6)
R/W
0
0
7598H–AVR–07/09
MCUCR
“Con-

Related parts for ATtiny25 Automotive