AVR-LibC
2.2.1
Standard C library for AVR-GCC
|
AVR-LibC Documentation |
![]() |
AVR-LibC Development Pages |
|||
Main Page |
User Manual |
Library Reference |
FAQ |
Example Projects |
File List |
Macros | |
#define | _FFS(x) |
The string functions perform string operations on NULL
terminated strings.
#define _FFS | ( | x | ) |
This macro finds the first (least significant) bit set in the input value.
This macro is very similar to the function ffs() except that it evaluates its argument at compile-time, so it should only be applied to compile-time constant expressions where it will reduce to a constant itself. Application of this macro to expressions that are not constant at compile-time is not recommended, and might result in a huge amount of code generated.