# timer.c File Reference

Functions to use the timer on the Make Controller Board. More...

Go to the source code of this file.

## Functions
int | Timer_SetActive (bool active)
| Controls the active state of the Timer subsystem.
int | Timer_GetActive ()
| Returns whether the timer subsystem is active or not.
void | Timer_InitializeEntry (TimerEntry *timerEntry, void(*timerCallback)(int id), int id, int timeMs, bool repeat)
| Initializes a new timer structure.
int | Timer_Set (TimerEntry *timerEntry)
| Sets a given TimerEntry to run.
int | Timer_Cancel (TimerEntry *timerEntry)
| Cancel a timer event.

## Detailed Description

Functions to use the timer on the Make Controller Board.

This uses the regular interrupt mechanism and as such may be blocked by other routines for significant numbers of milliseconds.

Definition in file timer.c.