ATtiny25 Automotive Atmel Corporation, ATtiny25 Automotive Datasheet - Page 46

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. I/O Ports
10.1
46
Introduction
ATtiny25/45/85
If the program never enables an interrupt source, the Interrupt Vectors are not used, and regular
program code can be placed at these locations. The most typical and general program setup for
the Reset and Interrupt Vector Addresses in ATtiny25/45/85 is:
All AVR ports have true Read-Modify-Write functionality when used as general digital I/O ports.
This means that the direction of one port pin can be changed without unintentionally changing
the direction of any other pin with the SBI and CBI instructions. The same applies when chang-
ing drive value (if configured as output) or enabling/disabling of pull-up resistors (if configured as
input). Each output buffer has symmetrical drive characteristics with both high sink and source
capability. The pin driver is strong enough to drive LED displays directly. All port pins have indi-
vidually selectable pull-up resistors with a supply-voltage invariant resistance. All I/O pins have
protection diodes to both V
acteristics” on page 150
Address Labels Code
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
0x000A
0x000B
0x000C
0x000D
0x000E
0x000F
0x0010
0x0011
0x0012
0x0013
0x0014
...
RESET: ldi
...
<instr>
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
ldi
out
out
sei
...
for a complete list of parameters.
CC
xxx
and Ground as indicated in
...
RESET
EXT_INT0
PCINT0
TIM1_COMPA
TIM1_OVF
TIM0_OVF
EE_RDY
ANA_COMP
ADC
TIM1_COMPB
TIM0_COMPA
TIM0_COMPB
WDT
USI_START
USI_OVF
r16, low(RAMEND); Main program start
r17, high(RAMEND); Tiny85 has also SPH
SPL, r16
SPH, r17
Comments
; Reset Handler
; IRQ0 Handler
; PCINT0 Handler
; Timer1 CompareA Handler
; Timer1 Overflow Handler
; Timer0 Overflow Handler
; EEPROM Ready Handler
; Analog Comparator Handler
; ADC Conversion Handler
; Timer1 CompareB Handler
;
;
;
;
;
; Set Stack Pointer to top of RAM
; Tiny85 has also SPH
; Enable interrupts
Figure
10-1. Refer to
“Electrical Char-
7598H–AVR–07/09

Related parts for ATtiny25 Automotive