LUFA Library
120219
|
Common library convenience headers, macros and functions. More...
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <stddef.h>
#include "Architectures.h"
#include "BoardTypes.h"
#include "ArchitectureSpecific.h"
#include "CompilerSpecific.h"
#include "Attributes.h"
Defines | |
#define | MACROS do |
#define | MACROE while (0) |
#define | MAX(x, y) (((x) > (y)) ? (x) : (y)) |
#define | MIN(x, y) (((x) < (y)) ? (x) : (y)) |
#define | STRINGIFY(x) #x |
#define | STRINGIFY_EXPANDED(x) STRINGIFY(x) |
#define | ISR(Name,...) void Name (void) __attribute__((__interrupt__)) __VA_ARGS__; void Name (void) |
Typedefs | |
typedef MACHINE_REG_t | uint_reg_t |
Functions | |
static uint8_t | BitReverse (uint8_t Byte) ATTR_WARN_UNUSED_RESULT ATTR_CONST |
static void | Delay_MS (uint16_t Milliseconds) ATTR_ALWAYS_INLINE |
static uint_reg_t | GetGlobalInterruptMask (void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT |
static void | SetGlobalInterruptMask (const uint_reg_t GlobalIntState) ATTR_ALWAYS_INLINE |
static void | GlobalInterruptEnable (void) ATTR_ALWAYS_INLINE |
static void | GlobalInterruptDisable (void) ATTR_ALWAYS_INLINE |
Common utility headers containing macros, functions, enums and types which are common to all aspects of the library.