Skip to content

Method to free up timer and redefine ISR used by delay()/millis()/micros() #10978

@brycecherry75

Description

@brycecherry75

For my particular application, I need to free up an available timer used by delay()/millis()/micros() for another purpose while retaining the use of delayMicroseconds() which is not used by a timer along with placing my own code in the particular ISR thereof and I am looking for a method to do so.

Activity

added
Component: CoreRelated to the code for the standard Arduino API
feature requestA request to make an enhancement (not a bug fix)
on Nov 19, 2020
matthijskooijman

matthijskooijman commented on Nov 19, 2020

@matthijskooijman
Collaborator

@brycecherry75, if your request is about AVR boards, see arduino/ArduinoCore-avr#320 which, I think, should allow you to do what you want to do. If so, it would be good if you could test it and provide feedback in the PR, which should help with getting it merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CoreRelated to the code for the standard Arduino APIfeature requestA request to make an enhancement (not a bug fix)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @matthijskooijman@per1234@brycecherry75

        Issue actions

          Method to free up timer and redefine ISR used by delay()/millis()/micros() · Issue #10978 · arduino/Arduino