An mbed implementation of IEC 61850-9-2LE Sample Values. Creating using the rapid61850 library, available at: https://github.com/stevenblair/rapid61850.

Dependencies:   mbed

An mbed implementation of IEC 61850-9-2LE Sample Values. Creating using the rapid61850 library, available at: https://github.com/stevenblair/rapid61850.

Committer:
sblair
Date:
Tue Oct 02 21:31:05 2012 +0000
Revision:
0:f09b7bb8bcce
converted library to folder

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sblair 0:f09b7bb8bcce 1 /**
sblair 0:f09b7bb8bcce 2 * Rapid-prototyping protection schemes with IEC 61850
sblair 0:f09b7bb8bcce 3 *
sblair 0:f09b7bb8bcce 4 * Copyright (c) 2012 Steven Blair
sblair 0:f09b7bb8bcce 5 *
sblair 0:f09b7bb8bcce 6 * This program is free software; you can redistribute it and/or
sblair 0:f09b7bb8bcce 7 * modify it under the terms of the GNU General Public License
sblair 0:f09b7bb8bcce 8 * as published by the Free Software Foundation; either version 2
sblair 0:f09b7bb8bcce 9 * of the License, or (at your option) any later version.
sblair 0:f09b7bb8bcce 10
sblair 0:f09b7bb8bcce 11 * This program is distributed in the hope that it will be useful,
sblair 0:f09b7bb8bcce 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
sblair 0:f09b7bb8bcce 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
sblair 0:f09b7bb8bcce 14 * GNU General Public License for more details.
sblair 0:f09b7bb8bcce 15
sblair 0:f09b7bb8bcce 16 * You should have received a copy of the GNU General Public License
sblair 0:f09b7bb8bcce 17 * along with this program; if not, write to the Free Software
sblair 0:f09b7bb8bcce 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
sblair 0:f09b7bb8bcce 19 */
sblair 0:f09b7bb8bcce 20
sblair 0:f09b7bb8bcce 21 #ifndef IED_H
sblair 0:f09b7bb8bcce 22 #define IED_H
sblair 0:f09b7bb8bcce 23
sblair 0:f09b7bb8bcce 24 #ifdef __cplusplus /* If this is a C++ compiler, use C linkage */
sblair 0:f09b7bb8bcce 25 extern "C" {
sblair 0:f09b7bb8bcce 26 #endif
sblair 0:f09b7bb8bcce 27
sblair 0:f09b7bb8bcce 28 #include "datatypes.h"
sblair 0:f09b7bb8bcce 29 #include "sv.h"
sblair 0:f09b7bb8bcce 30 #include "gse.h"
sblair 0:f09b7bb8bcce 31
sblair 0:f09b7bb8bcce 32
sblair 0:f09b7bb8bcce 33 struct LE_IED_t {
sblair 0:f09b7bb8bcce 34 struct {
sblair 0:f09b7bb8bcce 35 struct {
sblair 0:f09b7bb8bcce 36 struct {
sblair 0:f09b7bb8bcce 37 struct IEC_61850_9_2LELLN0 LLN0;
sblair 0:f09b7bb8bcce 38 struct svControl MSVCB01;
sblair 0:f09b7bb8bcce 39 } LN0;
sblair 0:f09b7bb8bcce 40 struct IEC_61850_9_2LETCTR IEC_61850_9_2LETCTR_1;
sblair 0:f09b7bb8bcce 41 struct IEC_61850_9_2LETCTR IEC_61850_9_2LETCTR_2;
sblair 0:f09b7bb8bcce 42 struct IEC_61850_9_2LETCTR IEC_61850_9_2LETCTR_3;
sblair 0:f09b7bb8bcce 43 struct IEC_61850_9_2LETCTR IEC_61850_9_2LETCTR_4;
sblair 0:f09b7bb8bcce 44 struct IEC_61850_9_2LETVTR IEC_61850_9_2LETVTR_1;
sblair 0:f09b7bb8bcce 45 struct IEC_61850_9_2LETVTR IEC_61850_9_2LETVTR_2;
sblair 0:f09b7bb8bcce 46 struct IEC_61850_9_2LETVTR IEC_61850_9_2LETVTR_3;
sblair 0:f09b7bb8bcce 47 struct IEC_61850_9_2LETVTR IEC_61850_9_2LETVTR_4;
sblair 0:f09b7bb8bcce 48 } MUnn;
sblair 0:f09b7bb8bcce 49 } S1;
sblair 0:f09b7bb8bcce 50 };
sblair 0:f09b7bb8bcce 51
sblair 0:f09b7bb8bcce 52 struct LE_IED_RECV_t {
sblair 0:f09b7bb8bcce 53 struct {
sblair 0:f09b7bb8bcce 54 struct {
sblair 0:f09b7bb8bcce 55 struct {
sblair 0:f09b7bb8bcce 56 struct IEC_61850_9_2LELLN0 LLN0;
sblair 0:f09b7bb8bcce 57 } LN0;
sblair 0:f09b7bb8bcce 58 struct IEC_61850_9_2LETCTR IEC_61850_9_2LETCTR_1;
sblair 0:f09b7bb8bcce 59 struct IEC_61850_9_2LETCTR IEC_61850_9_2LETCTR_2;
sblair 0:f09b7bb8bcce 60 struct IEC_61850_9_2LETCTR IEC_61850_9_2LETCTR_3;
sblair 0:f09b7bb8bcce 61 struct IEC_61850_9_2LETCTR IEC_61850_9_2LETCTR_4;
sblair 0:f09b7bb8bcce 62 struct IEC_61850_9_2LETVTR IEC_61850_9_2LETVTR_1;
sblair 0:f09b7bb8bcce 63 struct IEC_61850_9_2LETVTR IEC_61850_9_2LETVTR_2;
sblair 0:f09b7bb8bcce 64 struct IEC_61850_9_2LETVTR IEC_61850_9_2LETVTR_3;
sblair 0:f09b7bb8bcce 65 struct IEC_61850_9_2LETVTR IEC_61850_9_2LETVTR_4;
sblair 0:f09b7bb8bcce 66 } MUnn;
sblair 0:f09b7bb8bcce 67 } S1;
sblair 0:f09b7bb8bcce 68 };
sblair 0:f09b7bb8bcce 69
sblair 0:f09b7bb8bcce 70
sblair 0:f09b7bb8bcce 71
sblair 0:f09b7bb8bcce 72
sblair 0:f09b7bb8bcce 73 extern struct LE_IED_t LE_IED;
sblair 0:f09b7bb8bcce 74 extern struct LE_IED_RECV_t LE_IED_RECV;
sblair 0:f09b7bb8bcce 75
sblair 0:f09b7bb8bcce 76
sblair 0:f09b7bb8bcce 77 #ifdef __cplusplus /* If this is a C++ compiler, end C linkage */
sblair 0:f09b7bb8bcce 78 }
sblair 0:f09b7bb8bcce 79 #endif
sblair 0:f09b7bb8bcce 80
sblair 0:f09b7bb8bcce 81 #endif