Interface: moteiv.tos.interfaces.Set

interface Set<typedef val_t>

The Set interface is intended for synchronous writing of small values. The type of the value is given as a template argument. Generally, these values are backed by memory or computation. Because no error code is included, the set() call must be guaranteed to succeed.

See TEP114 - SIDs: Source and Sink Independent Drivers for details. Modified by Joe Polastre, Moteiv Corporation, to support async access.

Parameters:
val_t - the type of the object that will be stored
Author:
Gilman Tolle <gtolle@archedrock.com>
Version:
$Revision: 1.1.2.2 $ $Date: 2006/01/28 02:05:16 $

Commands
command void set(val_t val) Stores a value of type val_t.

Commands - Details

set

command void set(val_t val)

Stores a value of type val_t.

Parameters:
val - the value to be stored