Defines | Variables
global.h File Reference
#include "config/compiler.h"
#include "definitions.h"
Include dependency graph for global.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define mBits(x, m)   ((x)&(m))
#define mBitsExcept(x, m, be)   (((x)&(m))& ~(be))
#define mBitsIsSet(x, n)   mBits(x, (int) (1 << n) )
#define mBitsOff(lvx, bn)   ((lvx)&= ~(bn))
#define mBitsOffExcept(lvx, bn, be)   ((lvx)&= ~((bn)&~(be)))
#define mBitsOn(lvx, by)   ((lvx)|=(by))
#define mBitsOnExcept(lvx, by, be)   ((lvx)|=(by)&~(be))
#define mBitsOnOff(lvx, by, bn)   {mBitsOff(lvx,bn);mBitsOn(lvx,by);}
#define mBitsOnOffExcept(lvx, by, bn, be)   {mBitsOffExcept(lvx,bn,be);mBitsOnExcept(lvx,by,be);}
#define mBitsSet(x, n)   mBitsOn(x, (int) (1 << n) )
#define mBitsTogg(x, n)   mBitsToggle(x, (int) (1 << n) )
#define mBitsToggle(lvx, b)   ((lvx)^= (b))
#define mBitsToggleExcept(lvx, b, be)   ((lvx)^= ((b)&~(be)))
#define mBitsUnset(x, n)   mBitsOff(x, (int) (1 << n) )
#define mTestBits(x, m, b)   (mBits(x,m)==(b)))
#define mTestBitsExcept(x, m, b, be)   (mBitsExcept(x,m,be)==(b))

Variables

Status status

Define Documentation

#define mBits (   x,
  m 
)    ((x)&(m))

Definition at line 46 of file global.h.

#define mBitsExcept (   x,
  m,
  be 
)    (((x)&(m))& ~(be))

Definition at line 47 of file global.h.

#define mBitsIsSet (   x,
  n 
)    mBits(x, (int) (1 << n) )

Definition at line 65 of file global.h.

#define mBitsOff (   lvx,
  bn 
)    ((lvx)&= ~(bn))

Definition at line 53 of file global.h.

#define mBitsOffExcept (   lvx,
  bn,
  be 
)    ((lvx)&= ~((bn)&~(be)))

Definition at line 54 of file global.h.

#define mBitsOn (   lvx,
  by 
)    ((lvx)|=(by))

Definition at line 51 of file global.h.

#define mBitsOnExcept (   lvx,
  by,
  be 
)    ((lvx)|=(by)&~(be))

Definition at line 52 of file global.h.

#define mBitsOnOff (   lvx,
  by,
  bn 
)    {mBitsOff(lvx,bn);mBitsOn(lvx,by);}

Definition at line 58 of file global.h.

#define mBitsOnOffExcept (   lvx,
  by,
  bn,
  be 
)    {mBitsOffExcept(lvx,bn,be);mBitsOnExcept(lvx,by,be);}

Definition at line 59 of file global.h.

#define mBitsSet (   x,
  n 
)    mBitsOn(x, (int) (1 << n) )

Definition at line 61 of file global.h.

#define mBitsTogg (   x,
  n 
)    mBitsToggle(x, (int) (1 << n) )

Definition at line 63 of file global.h.

#define mBitsToggle (   lvx,
 
)    ((lvx)^= (b))

Definition at line 55 of file global.h.

#define mBitsToggleExcept (   lvx,
  b,
  be 
)    ((lvx)^= ((b)&~(be)))

Definition at line 56 of file global.h.

#define mBitsUnset (   x,
  n 
)    mBitsOff(x, (int) (1 << n) )

Definition at line 62 of file global.h.

#define mTestBits (   x,
  m,
 
)    (mBits(x,m)==(b)))

Definition at line 48 of file global.h.

#define mTestBitsExcept (   x,
  m,
  b,
  be 
)    (mBitsExcept(x,m,be)==(b))

Definition at line 49 of file global.h.


Variable Documentation

Definition at line 64 of file RT-WMP.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:56