Apps     Components     Interfaces     All Files     Source Tree     source: tos.interfaces.IntOutput.nc

Interface: IntOutput

Interface to an abstract ouput mechanism for integers. Two examples of providers of this interface are IntToRfm and IntToLeds.
Author: Jason Hill
  David Gay
  Philip Levis
  Nelson Lee

Components providing this interface:
apps.TestTinySec.TestTinySecM
tos.lib.Counters.IntToLeds
tos.lib.Counters.IntToLedsM
tos.lib.Counters.IntToRfm
tos.lib.Counters.IntToRfmM

Components requiring this interface:
tos.lib.Counters.Counter
tos.lib.Counters.RfmToInt
tos.lib.Counters.RfmToIntM
tos.lib.Counters.SenseToInt

Commands

Events

Commands - Details

output

result_t output(uint16_t value)

Output the given integer.
Returns: SUCCESS if the value will be output, FAIL otherwise.

Events - Details

outputComplete

result_t outputComplete(result_t success)

Signal that the ouput operation has completed; success states whether the operation was successful or not.
Returns: SUCCESS always.