Announcement

Collapse
No announcement yet.

DT_INTS-18xv for 18F K42, K83, and Q43 families

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DT_INTS-18xv for 18F K42, K83, and Q43 families

    I revamped DT-INTS for the 18xv series of devices (18FxxK42, 18FxxK83, and 18FxxQ43) to take advantage of the hardware context feature of these new devices, along with a few other enhancements.
    These routines should be faster, smaller, and use less RAM than the standard DT-INTS.

    The file names have changed, but other than that the usage is the same as other DT-INTS implementations...
    Code:
    ' ---------- Set up DT_INTS-18 Routine for Instant Interrupt handling -----------
    DEFINE USE_LOWPRIORITY 1 ' define if using Low Priority interrupts
    INCLUDE "DT_INTS-18xv.bas" ' Base Interrupt System for 18Fxv processors
    INCLUDE "ReEnterPBP-18xv.bas" ' Include if using PBP interrupts
    INCLUDE "ReEnterPBP-18xvLP.bas" ' Include if using Low Priority PBP INTS
    '------------------------------------------------------------------------------

    The default CONFIG setting for these devices enables multi-vector mode, so be sure to disable it by adding
    Code:
    #config
     CONFIG MVECEN = OFF ; Interrupt contoller does not use vector table (legacy mode)
     #endconfig
    to your main program
    Attached Files

  • #2
    Many thanks for the new files.


    Ioannis

    Comment

    Working...
    X