Electronic Components Datasheet Search
  English  ▼

X  

ATtiny48 Datasheet(PDF) 48 Page - ATMEL Corporation

Part # ATtiny48
Description  8-bit Microcontroller with 4/8K Bytes In-System Programmable Flash
PDF  266 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATtiny48 Datasheet(HTML) 48 Page - ATMEL Corporation

Back Button ATtiny48 Datasheet HTML 44Page - ATMEL Corporation ATtiny48 Datasheet HTML 45Page - ATMEL Corporation ATtiny48 Datasheet HTML 46Page - ATMEL Corporation ATtiny48 Datasheet HTML 47Page - ATMEL Corporation ATtiny48 Datasheet HTML 48Page - ATMEL Corporation ATtiny48 Datasheet HTML 49Page - ATMEL Corporation ATtiny48 Datasheet HTML 50Page - ATMEL Corporation ATtiny48 Datasheet HTML 51Page - ATMEL Corporation ATtiny48 Datasheet HTML 52Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 48 / 266 page
background image
48
8008C–AVR–03/09
ATtiny48/88
0x008
rjmp
TIMER1_CAPT
; Timer1 Capture Handler
0x009
rjmp
TIMER1_COMPA
; Timer1 Compare A Handler
0x00A
rjmp
TIMER1_COMPB
; Timer1 Compare B Handler
0x00B
rjmp
TIMER1_OVF
; Timer1 Overflow Handler
0x00C
rjmp
TIMER0_COMPA
; Timer0 Compare A Handler
0x00D
rjmp
TIMER0_COMPB
; Timer0 Compare B Handler
0x00E
rjmp
TIMER0_OVF
; Timer0 Overflow Handler
0x00F
rjmp
SPI_STC
; SPI Transfer Complete Handler
0x010
rjmp
ADC
; ADC Conversion Complete Handler
0x011
rjmp
EE_RDY
; EEPROM Ready Handler
0x012
rjmp
ANA_COMP
; Analog Comparator Handler
0x013
rjmp
TWI
; 2-wire Serial Interface Handler;
0x014
RESET:
ldi
r16, high(RAMEND); Main program start
0x015
out
SPH,r16
; Set Stack Pointer to top of RAM
0x016
ldi
r16, low(RAMEND)
0x017
out
SPL,r16
0x018
sei
; Enable interrupts
0x019
<inst> xxx
...
...
...
...
9.2
External Interrupts
The External Interrupts are triggered by the INT0 and INT1 pins or any of the PCINT27..0 pins.
Observe that, if enabled, the interrupts will trigger even if the INT0 and INT1 or PCINT27..0 pins
are configured as outputs. This feature provides a way of generating a software interrupt, as
follows.
• Pin Change Interrupt PCI3 triggers if a pin in PCINT27..24 is toggled while enabled
• Pin Change Interrupt PCI2 triggers if a pin in PCINT23..16 is toggled while enabled
• Pin Change Interrupt PCI1 triggers if a pin in PCINT15..8 is toggled while enabled
• Pin Change Interrupt PCI0 triggers if a pin in PCINT7..0 is toggled while enabled
The PCMSK3, PCMSK2, PCMSK1 and PCMSK0 registers control which pins contribute to the
pin change interrupts. Pin change interrupts on PCINT27..0 are detected asynchronously. This
means that these interrupts can be used for waking the part also from sleep modes other than
Idle mode.
The INT0 and INT1 interrupts can be triggered by a falling or rising edge, or a low level. This is
configured as described in “EICRA – External Interrupt Control Register A” on page 50. When
INT0 or INT1 interrupts are enabled and are configured as level triggered, the interrupts will trig-
ger as long as the corresponding pin is held low. Note that recognition of falling or rising edge
interrupts on INT0 or INT1 requires the presence of an I/O clock, described in “Clock Systems
and their Distribution” on page 25.
9.2.1
Low Level Interrupt
Low level interrupts on INT0 and INT1 are detected asynchronously. This means that the inter-
rupt sources can be used for waking the part also from sleep modes other than Idle (the I/O
clock is halted in all sleep modes except Idle mode).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com