Skip to content
Snippets Groups Projects
  1. Nov 04, 2019
  2. Nov 02, 2019
  3. Oct 30, 2019
  4. May 09, 2019
  5. Nov 20, 2017
  6. May 21, 2017
  7. Nov 15, 2016
    • AnHardt's avatar
      Introduce endstop interrupts · f3eee025
      AnHardt authored
      If ENDSTOP_INTERRUPTS_FEATURE is enabled this tries to set up interrupt routines
      for all used endstop pins. If this worked without errors, `endstops.update()` is called
      only if one of the endstops changed its state.
      
      The new interrupt routines do not really check the endstops and react upon them. All what they
      do, is to set a flag if it makes sense to call the endstop test we are used to.
      
      This can be used on:
      * ARM (DUE) based boards - all pins can raise interrupts,
      * RAMPS - all 6 endstop pins plus some other on EXT-2 can raise interrupts,
      * RAMPS based boards - as long the designers did not change the pins for the endstops or at least left enough,
      * all boards, if there are enough pins that can raise interrupts, and you are willing/able to swap with pins dedicated to other purpose.
      f3eee025
Loading