https://github.com/j123b567/scpi-parser
Dependents: scpi_sx127x scpi_sx127x_firstTest MLX90418_I2C_master
inc/scpi/constants.h@1:b497f235115a, 2015-08-07 (annotated)
- Committer:
- dudmuck
- Date:
- Fri Aug 07 21:54:11 2015 +0000
- Revision:
- 1:b497f235115a
- Parent:
- 0:aad43948c45c
update from github commit 6e5e3e0e3fc450eaf53feee059824ad85c4f270d
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dudmuck | 0:aad43948c45c | 1 | /*- |
dudmuck | 0:aad43948c45c | 2 | * Copyright (c) 2012-2013 Jan Breuer, |
dudmuck | 0:aad43948c45c | 3 | * |
dudmuck | 0:aad43948c45c | 4 | * All Rights Reserved |
dudmuck | 0:aad43948c45c | 5 | * |
dudmuck | 0:aad43948c45c | 6 | * Redistribution and use in source and binary forms, with or without |
dudmuck | 0:aad43948c45c | 7 | * modification, are permitted provided that the following conditions are |
dudmuck | 0:aad43948c45c | 8 | * met: |
dudmuck | 0:aad43948c45c | 9 | * 1. Redistributions of source code must retain the above copyright notice, |
dudmuck | 0:aad43948c45c | 10 | * this list of conditions and the following disclaimer. |
dudmuck | 0:aad43948c45c | 11 | * 2. Redistributions in binary form must reproduce the above copyright |
dudmuck | 0:aad43948c45c | 12 | * notice, this list of conditions and the following disclaimer in the |
dudmuck | 0:aad43948c45c | 13 | * documentation and/or other materials provided with the distribution. |
dudmuck | 0:aad43948c45c | 14 | * |
dudmuck | 0:aad43948c45c | 15 | * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR |
dudmuck | 0:aad43948c45c | 16 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
dudmuck | 0:aad43948c45c | 17 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
dudmuck | 0:aad43948c45c | 18 | * DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE |
dudmuck | 0:aad43948c45c | 19 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
dudmuck | 0:aad43948c45c | 20 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
dudmuck | 0:aad43948c45c | 21 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
dudmuck | 0:aad43948c45c | 22 | * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
dudmuck | 0:aad43948c45c | 23 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
dudmuck | 0:aad43948c45c | 24 | * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
dudmuck | 0:aad43948c45c | 25 | * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
dudmuck | 0:aad43948c45c | 26 | */ |
dudmuck | 0:aad43948c45c | 27 | |
dudmuck | 0:aad43948c45c | 28 | /** |
dudmuck | 0:aad43948c45c | 29 | * @file scpi_constants.h |
dudmuck | 0:aad43948c45c | 30 | * @date Thu Nov 15 10:58:45 UTC 2012 |
dudmuck | 0:aad43948c45c | 31 | * |
dudmuck | 0:aad43948c45c | 32 | * @brief SCPI Device constants |
dudmuck | 0:aad43948c45c | 33 | * |
dudmuck | 0:aad43948c45c | 34 | * |
dudmuck | 0:aad43948c45c | 35 | */ |
dudmuck | 0:aad43948c45c | 36 | |
dudmuck | 0:aad43948c45c | 37 | #ifndef SCPI_CONSTANTS_H |
dudmuck | 0:aad43948c45c | 38 | #define SCPI_CONSTANTS_H |
dudmuck | 0:aad43948c45c | 39 | |
dudmuck | 0:aad43948c45c | 40 | #ifdef __cplusplus |
dudmuck | 0:aad43948c45c | 41 | extern "C" { |
dudmuck | 0:aad43948c45c | 42 | #endif |
dudmuck | 0:aad43948c45c | 43 | |
dudmuck | 0:aad43948c45c | 44 | |
dudmuck | 0:aad43948c45c | 45 | /* 4.1.3.6 *IDN? */ |
dudmuck | 0:aad43948c45c | 46 | |
dudmuck | 0:aad43948c45c | 47 | #define SCPI_DEFAULT_1_MANUFACTURE "CTU FEE" |
dudmuck | 0:aad43948c45c | 48 | #define SCPI_DEFAULT_2_MODEL "TSI3225" |
dudmuck | 0:aad43948c45c | 49 | #define SCPI_DEFAULT_3 "0" |
dudmuck | 0:aad43948c45c | 50 | #define SCPI_DEFAULT_4_REVISION "01-01" |
dudmuck | 0:aad43948c45c | 51 | |
dudmuck | 0:aad43948c45c | 52 | /* 21.21 :VERSion? |
dudmuck | 0:aad43948c45c | 53 | * YYYY.V |
dudmuck | 0:aad43948c45c | 54 | * YYYY = SCPI year |
dudmuck | 0:aad43948c45c | 55 | * V = SCPI revision |
dudmuck | 0:aad43948c45c | 56 | */ |
dudmuck | 0:aad43948c45c | 57 | #define SCPI_STD_VERSION_REVISION "1999.0" |
dudmuck | 0:aad43948c45c | 58 | |
dudmuck | 0:aad43948c45c | 59 | #ifdef __cplusplus |
dudmuck | 0:aad43948c45c | 60 | } |
dudmuck | 0:aad43948c45c | 61 | #endif |
dudmuck | 0:aad43948c45c | 62 | |
dudmuck | 0:aad43948c45c | 63 | #endif /* SCPI_CONSTANTS_H */ |