Common.h File Reference

#include <avr/io.h>
#include <stdio.h>
#include <avr/version.h>
#include "FunctionAttributes.h"
#include "BoardTypes.h"
#include <alloca.h>

Defines

#define MACROS   do
#define MACROE   while (0)
#define JTAG_DEBUG_POINT()   asm volatile ("NOP" ::)
#define JTAG_DEBUG_BREAK()   asm volatile ("BREAK" ::)
#define JTAG_DEBUG_ASSERT(x)   MACROS{ if (!(x)) { JTAG_DEBUG_BREAK(); } }MACROE
#define SERIAL_STREAM_ASSERT(x)

Functions

static uint8_t BitReverse (uint8_t Byte) ATTR_WARN_UNUSED_RESULT ATTR_CONST
static uint16_t SwapEndian_16 (uint16_t Word) ATTR_WARN_UNUSED_RESULT ATTR_CONST
static uint32_t SwapEndian_32 (uint32_t DWord) ATTR_WARN_UNUSED_RESULT ATTR_CONST
static void SwapEndian_n (uint8_t *Data, uint8_t Bytes)

Detailed Description

This file contains macros which are common to all library elements, and which may be useful in user code. It also includes other common headers, such as Atomic.h, FunctionAttributes.h and BoardTypes.h.

Generated on Sun Aug 9 19:53:11 2009 for LUFA (Formerly MyUSB) Library by  doxygen 1.5.9