Interface: tos.lib.CC2420Radio.HPLCC2420Interrupt
interface HPLCC2420Interrupt
- Author:
-
Joe Polastre
Commands
command result_t disable()
command result_t startWait(bool low_to_high)
Events
event result_t fired()
Commands - Details
disable
command result_t disable()
- Returns:
-
SUCCESS if the interrupt has been disabled
startWait
command result_t startWait(bool low_to_high)
- Parameters:
-
low_to_high
- TRUE if the edge interrupt should occur on
a low to high transition, FALSE for high to low.
- Returns:
-
SUCCESS if the interrupt has been enabled
Events - Details
fired
event result_t fired()
- Returns:
-
SUCCESS to keep the interrupt enabled (equivalent to
calling startWait again), FAIL to disable the interrupt