
Interface between the mbed lpc1768 and the ads1298
stdef.h@1:26b8b0e4d836, 2014-04-14 (annotated)
- Committer:
- faithcerebral
- Date:
- Mon Apr 14 16:27:56 2014 +0000
- Revision:
- 1:26b8b0e4d836
- Parent:
- 0:bd3a560e245e
uncommented the test info
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
faithcerebral | 0:bd3a560e245e | 1 | /************************************************************************************************************************************************** |
faithcerebral | 0:bd3a560e245e | 2 | * stdef.h Standard Definitions File * |
faithcerebral | 0:bd3a560e245e | 3 | * * |
faithcerebral | 0:bd3a560e245e | 4 | * Author: Mike Claassen * |
faithcerebral | 0:bd3a560e245e | 5 | * * |
faithcerebral | 0:bd3a560e245e | 6 | * Revision Date: December 2007 * |
faithcerebral | 0:bd3a560e245e | 7 | * * |
faithcerebral | 0:bd3a560e245e | 8 | * Revision Level: 1st pass * |
faithcerebral | 0:bd3a560e245e | 9 | * * |
faithcerebral | 0:bd3a560e245e | 10 | * For Support: https://e2e.ti.com/support/development_tools/mavrk/default.aspx * |
faithcerebral | 0:bd3a560e245e | 11 | * * |
faithcerebral | 0:bd3a560e245e | 12 | *************************************************************************************************************************************************** |
faithcerebral | 0:bd3a560e245e | 13 | * Copyright � 2009-2010 Texas Instruments Incorporated - http://www.ti.com/ * |
faithcerebral | 0:bd3a560e245e | 14 | *************************************************************************************************************************************************** |
faithcerebral | 0:bd3a560e245e | 15 | * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * |
faithcerebral | 0:bd3a560e245e | 16 | * * |
faithcerebral | 0:bd3a560e245e | 17 | * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * |
faithcerebral | 0:bd3a560e245e | 18 | * * |
faithcerebral | 0:bd3a560e245e | 19 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the * |
faithcerebral | 0:bd3a560e245e | 20 | * documentation and/or other materials provided with the distribution. * |
faithcerebral | 0:bd3a560e245e | 21 | * * |
faithcerebral | 0:bd3a560e245e | 22 | * Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived * |
faithcerebral | 0:bd3a560e245e | 23 | * from this software without specific prior written permission. * |
faithcerebral | 0:bd3a560e245e | 24 | * * |
faithcerebral | 0:bd3a560e245e | 25 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * |
faithcerebral | 0:bd3a560e245e | 26 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * |
faithcerebral | 0:bd3a560e245e | 27 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * |
faithcerebral | 0:bd3a560e245e | 28 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * |
faithcerebral | 0:bd3a560e245e | 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * |
faithcerebral | 0:bd3a560e245e | 30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * |
faithcerebral | 0:bd3a560e245e | 31 | *************************************************************************************************************************************************** |
faithcerebral | 0:bd3a560e245e | 32 | * MODULE CHANGE LOG * |
faithcerebral | 0:bd3a560e245e | 33 | * * |
faithcerebral | 0:bd3a560e245e | 34 | * Date Changed: {date of change} Developer: {developer name} * |
faithcerebral | 0:bd3a560e245e | 35 | * Change Description: {describe change} * |
faithcerebral | 0:bd3a560e245e | 36 | * * |
faithcerebral | 0:bd3a560e245e | 37 | **************************************************************************************************************************************************/ |
faithcerebral | 0:bd3a560e245e | 38 | /************************************************************************************************************************************************** |
faithcerebral | 0:bd3a560e245e | 39 | * Union Structures and Definitions * |
faithcerebral | 0:bd3a560e245e | 40 | **************************************************************************************************************************************************/ |
faithcerebral | 0:bd3a560e245e | 41 | // BITWISE Definitions |
faithcerebral | 0:bd3a560e245e | 42 | #define DISABLE 0 |
faithcerebral | 0:bd3a560e245e | 43 | #define ENABLE 1 |
faithcerebral | 0:bd3a560e245e | 44 | |
faithcerebral | 0:bd3a560e245e | 45 | #define DEFAULT_DISABLE 0 |
faithcerebral | 0:bd3a560e245e | 46 | #define DEFAULT_ENABLE 1 |
faithcerebral | 0:bd3a560e245e | 47 | |
faithcerebral | 0:bd3a560e245e | 48 | #define DISABLED 0 |
faithcerebral | 0:bd3a560e245e | 49 | #define ENABLED 1 |
faithcerebral | 0:bd3a560e245e | 50 | |
faithcerebral | 0:bd3a560e245e | 51 | #define DEFAULT_DISABLED 0 |
faithcerebral | 0:bd3a560e245e | 52 | #define DEFAULT_ENABLED 1 |
faithcerebral | 0:bd3a560e245e | 53 | |
faithcerebral | 0:bd3a560e245e | 54 | #define LOW 0 |
faithcerebral | 0:bd3a560e245e | 55 | #define HIGH 1 |
faithcerebral | 0:bd3a560e245e | 56 | |
faithcerebral | 0:bd3a560e245e | 57 | #define DEFAULT_LOW 0 |
faithcerebral | 0:bd3a560e245e | 58 | #define DEFAULT_HIGH 1 |
faithcerebral | 0:bd3a560e245e | 59 | |
faithcerebral | 0:bd3a560e245e | 60 | #define INACTIVE 0 |
faithcerebral | 0:bd3a560e245e | 61 | #define ACTIVE 1 |
faithcerebral | 0:bd3a560e245e | 62 | |
faithcerebral | 0:bd3a560e245e | 63 | #define CLEAR 0 |
faithcerebral | 0:bd3a560e245e | 64 | #define SET 1 |
faithcerebral | 0:bd3a560e245e | 65 | |
faithcerebral | 0:bd3a560e245e | 66 | #define OFF 0 |
faithcerebral | 0:bd3a560e245e | 67 | #define ON 1 |
faithcerebral | 0:bd3a560e245e | 68 | |
faithcerebral | 0:bd3a560e245e | 69 | #define NULL 0 |
faithcerebral | 0:bd3a560e245e | 70 | |
faithcerebral | 0:bd3a560e245e | 71 |