From f1be82306a02df38992817e0a57609df7171e4c5 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 8 May 2012 14:19:01 -0400 Subject: libmaple/util.h: Doxygen fixups. Signed-off-by: Marti Bolivar --- libmaple/include/libmaple/util.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmaple/include/libmaple/util.h') 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))) /* -- cgit v1.2.3