| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
ATtiny24-20SSU bảng dữ liệu(PDF) 49 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATtiny24-20SSU bảng dữ liệu(HTML) 49 Page - ATMEL Corporation |
|
49 / 236 page ![]() 49 8006H–AVR–10/09 ATtiny24/44/84 Address Labels Code Comments 0x0000 rjmp RESET ; Reset Handler 0x0001 rjmp INT0 ; IRQ0 Handler 0x0002 rjmp PCINT0 ; PCINT0 Handler 0x0003 rjmp PCINT1 ; PCINT1 Handler 0x0004 rjmp WDT ; Watchdog Interrupt Handler 0x0005 rjmp TIM1_CAPT ; Timer1 Capture Handler 0x0006 rjmp TIM1_COMPA ; Timer1 Compare A Handler 0x0007 rjmp TIM1_COMPB ; Timer1 Compare B Handler 0x0008 rjmp TIM1_OVF ; Timer1 Overflow Handler 0x0009 rjmp TIM0_COMPA ; Timer0 Compare A Handler 0x000A rjmp TIM0_COMPB ; Timer0 Compare B Handler 0x000B rjmp TIM0_OVF ; Timer0 Overflow Handler 0x000C rjmp ANA_COMP ; Analog Comparator Handler 0x000D rjmp ADC ; ADC Conversion Handler 0x000E rjmp EE_RDY ; EEPROM Ready Handler 0x000F rjmp USI_STR ; USI STart Handler 0x0010 rjmp USI_OVF ; USI Overflow Handler ; 0x0011 RESET: ldi r16, high(RAMEND); Main program start 0x0012 out SPH,r16 ; Set Stack Pointer to top of RAM 0x0013 ldi r16, low(RAMEND) 0x0014 out SPL,r16 0x0015 sei ; Enable interrupts 0x0016 <instr> ... ... 9.2 External Interrupts The External Interrupts are triggered by the INT0 pin or any of the PCINT11..0 pins. Observe that, if enabled, the interrupts will trigger even if the INT0 or PCINT11..0 pins are configured as outputs. This feature provides a way of generating a software interrupt. Pin change 0 interrupts PCI0 will trigger if any enabled PCINT7..0 pin toggles. Pin change 1 interrupts PCI1 will trigger if any enabled PCINT11..8 pin toggles. The PCMSK0 and PCMSK1 Registers control which pins contribute to the pin change interrupts. Pin change interrupts on PCINT11..0 are detected asyn- chronously. This implies that these interrupts can be used for waking the part also from sleep modes other than Idle mode. The INT0 interrupts can be triggered by a falling or rising edge or a low level. This is set up as indicated in the specification for the MCU Control Register – MCUCR. When the INT0 interrupt is enabled and is configured as level triggered, the interrupt will trigger as long as the pin is held low. Note that recognition of falling or rising edge interrupts on INT0 requires the presence of an I/O clock, as described in “Clock Sources” on page 25. 9.2.1 Low Level Interrupt A low level interrupt on INT0 is detected asynchronously. This means that the interrupt source 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). |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| 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 |