Component: tos.lib.timer.AlarmToTimerC

generic module AlarmToTimerC(typedef precision_tag)

AlarmToTimerC converts a 32-bit Alarm to a Timer.

See TEP102 for more details.

Parameters:
precision_tag - A type indicating the precision of the Alarm and Timer being converted.
Author:
Cory Sharp <cssharp@eecs.berkeley.edu>

Provides
interface Timer<precision_tag> wired by: HilTimerMilliC(1)

Uses
interface Alarm<precision_tag, uint32_t> wired by: HilTimerMilliC(1)
interface TaskBasic as fired