Interface: moteiv.tos.sensorboards.invent.SensorInterrupt

interface SensorInterrupt

Generic interface for handing an interrupt from Tmote Invent

Author:
Joe Polastre, Moteiv Corporation <info@moteiv.com>

Commands
command result_t disable() Disable interrupt handling for this sensor.
command result_t enable() Enable interrupt handling for this sensor.

Events
event void fired() Event notification that the interrupt has fired.

Commands - Details

disable

command result_t disable()

Disable interrupt handling for this sensor.

Returns:
FAIL if the system cannot disable the interrupt.

enable

command result_t enable()

Enable interrupt handling for this sensor.

Returns:
FAIL if the system cannot enable the interrupt.

Events - Details

fired

event void fired()

Event notification that the interrupt has fired.