diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-08 14:19:01 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-08 14:19:01 -0400 |
commit | f1be82306a02df38992817e0a57609df7171e4c5 (patch) | |
tree | 0ac314a8f0dfa139cf936c5598affb45db8dfb35 /libmaple | |
parent | 84c4bc02c57f40996f4000b3b87ee47179759ca5 (diff) | |
download | librambutan-f1be82306a02df38992817e0a57609df7171e4c5.tar.gz librambutan-f1be82306a02df38992817e0a57609df7171e4c5.zip |
libmaple/util.h: Doxygen fixups.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/include/libmaple/util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmaple/include/libmaple/util.h b/libmaple/include/libmaple/util.h index d0b7b0b..78bc03d 100644 --- a/libmaple/include/libmaple/util.h +++ b/libmaple/include/libmaple/util.h @@ -42,13 +42,13 @@ extern "C"{ * Bit manipulation */ -/** 1 << the bit number */ +/** 1UL << (shift) */ #define BIT(shift) (1UL << (shift)) -/** Mask shifted left by 'shift' */ +/** 'Mask' shifted left by 'shift' */ #define BIT_MASK_SHIFT(mask, shift) ((mask) << (shift)) /** Bits m to n of x */ #define GET_BITS(x, m, n) ((((uint32)x) << (31 - (n))) >> ((31 - (n)) + (m))) -/** True if v is a power of two (1, 2, 4, 8, ...) */ +/** True iff v is a power of two (1, 2, 4, 8, ...) */ #define IS_POWER_OF_TWO(v) ((v) && !((v) & ((v) - 1))) /* |