Arduino-GPIO
General Purpose Input/Output (GPIO) library for Arduino
|
Go to the source code of this file.
Macros | |
#define | bswap16(x) __builtin_bswap16(x) |
#define | bswap32(x) __builtin_bswap32(x) |
#define | bswap64(x) __builtin_bswap64(x) |
#define | bswap(x) bswap16(x) |
Copyright (C) 2017, Mikael Patel
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
Byte swap functions, https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
Definition in file bswap.h.