https://github.com/j123b567/scpi-parser

Dependents:   scpi_sx127x scpi_sx127x_firstTest MLX90418_I2C_master

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?

UserRevisionLine numberNew 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_minimal.h
dudmuck 0:aad43948c45c 30 * @date Thu Nov 15 10:58:45 UTC 2012
dudmuck 0:aad43948c45c 31 *
dudmuck 0:aad43948c45c 32 * @brief SCPI minimal implementation
dudmuck 0:aad43948c45c 33 *
dudmuck 0:aad43948c45c 34 *
dudmuck 0:aad43948c45c 35 */
dudmuck 0:aad43948c45c 36
dudmuck 0:aad43948c45c 37 #ifndef SCPI_MINIMAL_H
dudmuck 0:aad43948c45c 38 #define SCPI_MINIMAL_H
dudmuck 0:aad43948c45c 39
dudmuck 0:aad43948c45c 40 #include "scpi/types.h"
dudmuck 0:aad43948c45c 41
dudmuck 0:aad43948c45c 42 #ifdef __cplusplus
dudmuck 0:aad43948c45c 43 extern "C" {
dudmuck 0:aad43948c45c 44 #endif
dudmuck 0:aad43948c45c 45
dudmuck 0:aad43948c45c 46 scpi_result_t SCPI_Stub(scpi_t * context);
dudmuck 0:aad43948c45c 47 scpi_result_t SCPI_StubQ(scpi_t * context);
dudmuck 0:aad43948c45c 48
dudmuck 0:aad43948c45c 49 scpi_result_t SCPI_SystemVersionQ(scpi_t * context);
dudmuck 0:aad43948c45c 50 scpi_result_t SCPI_SystemErrorNextQ(scpi_t * context);
dudmuck 0:aad43948c45c 51 scpi_result_t SCPI_SystemErrorCountQ(scpi_t * context);
dudmuck 0:aad43948c45c 52 scpi_result_t SCPI_StatusQuestionableEventQ(scpi_t * context);
dudmuck 0:aad43948c45c 53 scpi_result_t SCPI_StatusQuestionableEnableQ(scpi_t * context);
dudmuck 0:aad43948c45c 54 scpi_result_t SCPI_StatusQuestionableEnable(scpi_t * context);
dudmuck 0:aad43948c45c 55 scpi_result_t SCPI_StatusPreset(scpi_t * context);
dudmuck 0:aad43948c45c 56
dudmuck 0:aad43948c45c 57
dudmuck 0:aad43948c45c 58 #ifdef __cplusplus
dudmuck 0:aad43948c45c 59 }
dudmuck 0:aad43948c45c 60 #endif
dudmuck 0:aad43948c45c 61
dudmuck 0:aad43948c45c 62 #endif /* SCPI_MINIMAL_H */