logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

ATmega 2560 - priorytety przerwań wewnętrznych i zewnętrznych timerów

madiz08 11 Lut 2017 19:37 1227 3
REKLAMA
  • #1 16271036
    madiz08
    Poziom 14  
    Posty: 517
    Pomógł: 4
    Ocena: 172
    Witam
    Programuję pracę inżynierską na Arduino Mega, ale nie korzystając z gotowych bibliotek, tylko bazując na rejestrach i ich ustawieniach. Chciałbym wykorzystać wewnętrzne przerwania sześciu timerów oraz 4 przerwania zewnętrzne zboczem.
    Proszę o informacje, gdzie w nocie katalogowej można znaleźć informacje na temat priorytetów wykonywania przerwań, jeżeli wystąpią w tym samym czasie.
  • REKLAMA
  • Pomocny post
    #2 16271046
    Konto nie istnieje
    Konto nie istnieje  
  • REKLAMA
  • #3 16271081
    tronics
    Poziom 38  
    Posty: 5062
    Pomógł: 358
    Ocena: 840
    madiz08 napisał:
    gdzie w nocie katalogowej można znaleźć informacje na temat priorytetów wykonywania przerwań, jeżeli wystąpią w tym samym czasie.

    The lower the address the higher is the priority level. RESET has the highest priority, and next
    is INT0 – the External Interrupt Request 0. The Interrupt Vectors can be moved to the start of the Boot Flash section by setting the IVSEL bit in the MCU Control Register (MCUCR). Refer to “Interrupts” on page 101 for more
    information. The Reset Vector can also be moved to the start of the Boot Flash section by programming the
    BOOTRST Fuse, see “Memory Programming” on page 325.
    Oczywiście nota katalogowa.
  • #4 16272233
    madiz08
    Poziom 14  
    Posty: 517
    Pomógł: 4
    Ocena: 172
    "The lower the address the higher is the priority level" i wszystko jasne. Dzięki Panowie
REKLAMA