Zigbee Protocol Controller 1.6.0

Files

file  lc-switch.h
 
file  lc.h
 

Macros

#define LC_INIT(s)   s = 0;
 
#define LC_RESUME(s)   switch(s) { case 0:
 
#define LC_SET(s)   s = __LINE__; case __LINE__:
 
#define LC_END(s)   }
 
#define __LC_H__
 

Typedefs

typedef unsigned short lc_t
 

Detailed Description

Local continuations form the basis for implementing protothreads. A local continuation can be set in a specific function to capture the state of the function. After a local continuation has been set can be resumed in order to restore the state of the function at the point where the local continuation was set.

Macro Definition Documentation

◆ __LC_H__

#define __LC_H__

◆ LC_END

#define LC_END (   s)    }

◆ LC_INIT

#define LC_INIT (   s)    s = 0;

◆ LC_RESUME

#define LC_RESUME (   s)    switch(s) { case 0:

◆ LC_SET

#define LC_SET (   s)    s = __LINE__; case __LINE__:

Typedef Documentation

◆ lc_t

typedef unsigned short lc_t