Skip to content

Commit

Permalink
core: documentation: fixed bitarithm documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegHahm committed May 5, 2014
1 parent 25a2122 commit 2d338fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/include/bitarithm.h
Expand Up @@ -44,21 +44,21 @@

/**
* @def SETBIT
* @brief Sets a single bit in a bitfield
* @brief Sets a bitbitmask for a bitfield
*
* @param[in] val The bitfield
* @param[in] bit Specifies the bit to be set
* @param[in] bit Specifies the bits to be set
*
* @return The modified bitfield
*/
#define SETBIT(val, bit) val |= (bit)

/**
* @def CLRBIT
* @brief Clears a single bit in a bitfield
* @brief Clears bitmask for a bitfield
*
* @param[in] val The bitfield
* @param[in] bit Specifies the bit to be cleared
* @param[in] bit Specifies the bits to be cleared
*
* @return The modified bitfield
*/
Expand Down

0 comments on commit 2d338fe

Please sign in to comment.