logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

avr_string - <string.h>: Strings

Author

       Generated automatically by Doxygen for AVR-LibC from the source code.

AVR-LibC                                          Version 2.2.1                                 avr_string(3avr)

Detailed Description

       #include <string.h>

       The string functions perform string operations on NULL terminated strings.

       Note
           If the strings you are working on resident in program space (flash), you will need to use the string
           functions described in <avr/pgmspace.h>:ProgramSpaceUtilities.

Macro Definition Documentation

#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.

       Returns
           The _FFS() macro returns the position of the first (least significant) bit set in the word val, or 0
           if no bits are set. The least significant bit is position 1. Only 16 bits of argument are evaluted.

Name

       avr_string - <string.h>: Strings

Synopsis

Macros
       #define _FFS(x)

See Also