MAVRK Embedded Software 0.91
Software Libraries for the MAVRK motherboard and related components
|
00001 #ifndef _STDEF_H 00002 #define _STDEF_H 00003 /************************************************************************************************************************************************** 00004 * stdef.h Standard Definitions File * 00005 * * 00006 * Author: Mike Claassen * 00007 * * 00008 * Revision Date: December 2007 * 00009 * * 00010 * Revision Level: 1st pass * 00011 * * 00012 * For Support: https://e2e.ti.com/support/development_tools/mavrk/default.aspx * 00013 * * 00014 *************************************************************************************************************************************************** 00015 * Copyright © 2009-2012 Texas Instruments Incorporated - https://www.ti.com/ * 00016 *************************************************************************************************************************************************** 00017 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * 00018 * * 00019 * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 00020 * * 00021 * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the * 00022 * documentation and/or other materials provided with the distribution. * 00023 * * 00024 * Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived * 00025 * from this software without specific prior written permission. * 00026 * * 00027 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * 00028 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * 00029 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * 00030 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * 00031 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * 00032 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 00033 *************************************************************************************************************************************************** 00034 * MODULE CHANGE LOG * 00035 * * 00036 * Date Changed: {date of change} Developer: {developer name} * 00037 * Change Description: {describe change} * 00038 * * 00039 **************************************************************************************************************************************************/ 00040 00041 /************************************************************************************************************************************************** 00042 * Union Structures and Definitions * 00043 **************************************************************************************************************************************************/ 00044 // BITWISE Definitions 00045 #define DISABLE 0 00046 #define ENABLE 1 00047 00048 #define DEFAULT_DISABLE 0 00049 #define DEFAULT_ENABLE 1 00050 00051 #define DISABLED 0 00052 #define ENABLED 1 00053 00054 #define DEFAULT_DISABLED 0 00055 #define DEFAULT_ENABLED 1 00056 00057 #define LOW 0 00058 #define HIGH 1 00059 00060 #define DEFAULT_LOW 0 00061 #define DEFAULT_HIGH 1 00062 00063 #define INACTIVE 0 00064 #define ACTIVE 1 00065 00066 #define CLEAR 0 00067 #define SET 1 00068 00069 #define OFF 0 00070 #define ON 1 00071 00072 #define NULL 0 00073 00074 #endif // #ifndef __STDEF_H 00075