Skip to content

[DMB] Implement RTOS Wrapper for Timer #48

Description

@cjchanx

Intro task for DMB work, implement the FreeRTOS C++ wrapper for RTOS timers.

Reportee: @cjchanx

Implementing and testing:
Components/Core/Timer.cpp
Components/Core/Timer.hpp

Desired Output

  • Timer object implemented and tested that supports the following:
  • Polling timers (it will update in the background, and we only care about if it is active when we poll it (for instance, calling tmr->GetState()) : please make an enum / rudimentary state diagram for the timer if possible.
  • Timer.cpp/hpp is properly documented and follows coding standards

Resources
https://www.freertos.org/FreeRTOS-Software-Timer-API-Functions.html

Future Activity - Will be new card once this card is reviewed

  • Expand timer into an "interrupt timer" which will automatically call a passed in callback.

Linked Trello Card

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions