Skip to content

Adding timer functions #36

@dehanj

Description

@dehanj

The timer is useful and will most likely be used by a lot of applications. Adding functions around the timer will make it easier to use.

Both controlling the timer, and also a delay function which is commonly used.

Proposing these functions;

  • int timer_start(int ticks, int prescaler)
  • bool timer_is_expired(void)
  • void timer_stop(void)
  • void timer_delay(int delay_ms)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions