Component: moteiv.tos.lib.timer.VirtualizeAlarmC

generic module VirtualizeAlarmC(typedef precision_tag, typedef size_type, int num_alarms)

VirtualizeAlarmC uses a single Alarm to create up to 255 virtual alarms. Note that a virtualized Alarm will have significantly more overhead than an Alarm built on a hardware compare register.

Parameters:
precision_tag - A type indicating the precision of the Alarm being virtualized.
num_alarms - Number of virtual alarms to create.
Author:
Cory Sharp <cssharp@eecs.berkeley.edu>

Provides
interface Alarm<precision_tag, size_type>[uint8_t]
interface StdControl as Init

Uses
interface Alarm<precision_tag, size_type> as AlarmFrom