Apps
Components
Interfaces
All Files
Source Tree
source:
tos.interfaces.Interrupt.nc
Interface: Interrupt
Hardware interface to enable and disable interrupts.
Components providing this interface:
tos.platform.avrmote.HPLInterrupt
Components requiring this interface:
tos.lib.TinyDB.DBBufferC
tos.lib.TinyDB.TupleRouterM
tos.platform.avrmote.HPLUARTM
tos.platform.mica.SlavePinM
tos.system.RealMain
Commands
bool
disable
(void)
Disables interrupts.
result_t
enable
(void)
Enables interrupts.
Commands - Details
disable
bool
disable
(void)
Disables interrupts.
Returns:
TRUE iff interrupts were previously enabled
enable
result_t
enable
(void)
Enables interrupts.
Returns:
SUCCESS always.