R_RTOS  0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
R_RTOS_BitMagic.h File Reference

Functions for manipulating bits and bytes and stuff. More...

#include "R_RTOS_inc.h"

Go to the source code of this file.

Functions

uint8_t bitM_bitPos (uint32_t bits)
 

Detailed Description

Functions for manipulating bits and bytes and stuff.

Author
Christian Neuberger (Neube.nosp@m.rger.nosp@m.Ch503.nosp@m.44@t.nosp@m.h-nue.nosp@m.rnbe.nosp@m.rg.de)
Date
05.03.2016

Function Documentation

uint8_t bitM_bitPos ( uint32_t  bits)
Parameters
[in]bitsbitarray to query the position of the set bit of
Returns
Position of the set bit in the given bitarray
Note
returns zero if no bit is set