arduino / arduino/Arduino

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

Open
#10,978 1 comment 0 reactions 0 assignees View on GitHub
Component: Core feature request
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementations and timer/ISR entry points for delay(), millis(), micros(), and delayMicroseconds(). Determine which timer is used and whether the requested freeing and redefinition behavior can be specified without a board-specific scope; done would require a clearly defined method that preserves delayMicroseconds() while allowing the other timer and ISR to be reassigned.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.