SZSPTP ez430-RF2480 1.0

ZigBee Sensor Network with synchronized time and time-stamped measurements.
Interruption management

Enable and disable of interruptions. More...

Files

file  im.c
 Interruption management (enable/disable) implementation.
 
file  im.h
 Interruption management (enable/disable) interface.
 

Functions

void im_disable_interrupt ()
 Disable interrupt. More...
 
void im_enable_interrupt ()
 Enable interrupt. More...
 

Detailed Description

Enable and disable of interruptions.

Function Documentation

void im_disable_interrupt ( )

Disable interrupt.

This function disable the interrupts specified on the definitions. If they are already disabled it just increments a counter.

Definition at line 162 of file im.c.

References IM_DISABLE_1, IM_DISABLE_2, IM_DISABLE_ADC10, IM_DISABLE_P1, IM_DISABLE_P2, IM_DISABLE_TA, IM_DISABLE_TB, im_saveIE1, im_saveIE2, im_saveIEOthers, im_saveIEP1, and im_saveIEP2.

Referenced by clock_init(), led_greenDown(), led_greenUp(), spi_reqBegin(), and uart_startFrame().

+ Here is the caller graph for this function:

void im_enable_interrupt ( )

Enable interrupt.

This function decrement the counter of im_disable_interrup calls. If the counter reaches 0, the interrupts specified on the definitions are re-enabled. If there was not any call to im_disable_interrup, this function have no effect.

Definition at line 222 of file im.c.

References im_saveIE1, im_saveIE2, im_saveIEOthers, im_saveIEP1, and im_saveIEP2.

Referenced by clock_init(), led_greenDown(), led_greenUp(), spi_reqBegin(), spi_reqEnd(), and uart_endFrame().

+ Here is the caller graph for this function: