/[avr-libc]/avr-libc/libc/string/ffs.S
ViewVC logotype

Diff of /avr-libc/libc/string/ffs.S

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by aesok, Mon Oct 17 21:47:06 2005 UTC revision 1.3 by joerg_wunsch, Tue Oct 18 21:14:46 2005 UTC
# Line 31  Line 31 
31  /** \ingroup avr_string  /** \ingroup avr_string
32      \fn int ffs (int val);      \fn int ffs (int val);
33    
34      \brief This functions find the first (least significant) bit set in the input value.      \brief This function finds the first (least significant) bit set in the input value.
35        
36      \returns The ffs() function returns the position of the first      \returns The ffs() function returns the position of the first
37      (least significant) bit set in the word val, or 0 if no bits are set.      (least significant) bit set in the word val, or 0 if no bits are set.
38      The least significant bit is position 1.    */      The least significant bit is position 1.
39    
40        \note For expressions that are constant at compile time, consider
41        using the \ref _FFS macro instead.
42    */
43    
44  #ifndef __DOXYGEN__  #ifndef __DOXYGEN__
45    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26