- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

# tpaste.h

Go to the documentation of this file.

    00001 /*This file is prepared for Doxygen automatic documentation generation.*/
    00014 /* Copyright (c) 2009 Atmel Corporation. All rights reserved.
    00015  *
    00016  * Redistribution and use in source and binary forms, with or without
    00017  * modification, are permitted provided that the following conditions are met:
    00018  *
    00019  * 1. Redistributions of source code must retain the above copyright notice, this
    00020  * list of conditions and the following disclaimer.
    00021  *
    00022  * 2. Redistributions in binary form must reproduce the above copyright notice,
    00023  * this list of conditions and the following disclaimer in the documentation
    00024  * and/or other materials provided with the distribution.
    00025  *
    00026  * 3. The name of Atmel may not be used to endorse or promote products derived
    00027  * from this software without specific prior written permission.
    00028  *
    00029  * 4. This software may only be redistributed and used in connection with an Atmel
    00030  * AVR product.
    00031  *
    00032  * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
    00033  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    00034  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
    00035  * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
    00036  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    00037  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    00038  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    00039  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    00040  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    00041  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
    00042  *
    00043  */
    00044
    00045 #ifndef _TPASTE_H_
    00046 #define _TPASTE_H_
    00047
    00048
    00059
    00060 #define TPASTE2( a, b)                            a##b
    00061 #define TPASTE3( a, b, c)                         a##b##c
    00062 #define TPASTE4( a, b, c, d)                      a##b##c##d
    00063 #define TPASTE5( a, b, c, d, e)                   a##b##c##d##e
    00064 #define TPASTE6( a, b, c, d, e, f)                a##b##c##d##e##f
    00065 #define TPASTE7( a, b, c, d, e, f, g)             a##b##c##d##e##f##g
    00066 #define TPASTE8( a, b, c, d, e, f, g, h)          a##b##c##d##e##f##g##h
    00067 #define TPASTE9( a, b, c, d, e, f, g, h, i)       a##b##c##d##e##f##g##h##i
    00068 #define TPASTE10(a, b, c, d, e, f, g, h, i, j)    a##b##c##d##e##f##g##h##i##j
    00070
    00071
    00080
    00081 #define ATPASTE2( a, b)                           TPASTE2( a, b)
    00082 #define ATPASTE3( a, b, c)                        TPASTE3( a, b, c)
    00083 #define ATPASTE4( a, b, c, d)                     TPASTE4( a, b, c, d)
    00084 #define ATPASTE5( a, b, c, d, e)                  TPASTE5( a, b, c, d, e)
    00085 #define ATPASTE6( a, b, c, d, e, f)               TPASTE6( a, b, c, d, e, f)
    00086 #define ATPASTE7( a, b, c, d, e, f, g)            TPASTE7( a, b, c, d, e, f, g)
    00087 #define ATPASTE8( a, b, c, d, e, f, g, h)         TPASTE8( a, b, c, d, e, f, g, h)
    00088 #define ATPASTE9( a, b, c, d, e, f, g, h, i)      TPASTE9( a, b, c, d, e, f, g, h, i)
    00089 #define ATPASTE10(a, b, c, d, e, f, g, h, i, j)   TPASTE10(a, b, c, d, e, f, g, h, i, j)
    00091
    00092
    00093 #endif  // _TPASTE_H_