Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Teensy 4.x interrupts

  1. #1
    Junior Member
    Join Date
    Jan 2021
    Posts
    3

    Teensy 4.x interrupts

    Hi,

    Is there any documentation on how to hook into various interrupts?
    What interrupts are available and what are their vector-names
    (or whatever you call it)?

    I would for example be able to handle interrupts from ADC-completions
    and from timers and various other IO.

  2. #2

  3. #3
    Senior Member
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    1,424
    That list looks like some Teensy2 (AVR) stuff. You find the interrupts 4.x interrupt defines in imxrt.h https://github.com/PaulStoffregen/co...eensy4/imxrt.h. You can use AttachInterruptVector to hook into the interrupts with the defined IRQ numbers.

  4. #4
    Junior Member
    Join Date
    Jan 2021
    Posts
    3
    Perfect, Thanks
    Last edited by Zombatha; 01-29-2021 at 02:20 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •