BIT_WORD is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

BIT_WORD macro

Syntax

#define BIT_WORD(nr) ((nr) / BITS_PER_LONG)

Arguments

nr

References

LocationText
bits.h:28
#define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
bits.h:50
unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr);
bits.h:63
unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr);
bits.h:75
return 1UL & (addr[BIT_WORD(nr)] >> (nr % BITS_PER_LONG));