]> rtime.felk.cvut.cz Git - mf624-simulink.git/blobdiff - sfReadPWM.c
Include license header to prepare code for publication.
[mf624-simulink.git] / sfReadPWM.c
index da79c92834eee6ee9fa798f25e7cd3178619514c..33399aef6aab0a38b2206ed33fd7e43228a36069 100644 (file)
@@ -1,3 +1,35 @@
+/*
+ * S-function to measure external PWM signal duty cycle on Humusoft MF624 card
+ *
+ * Copyright (C) 2013 Michal Kreč <krecmich@fel.cvut.cz>
+ * Copyright (C) 2013 Michal Sojka <sojkam1@fel.cvut.cz>
+ *
+ * Department of Control Engineering
+ * Faculty of Electrical Engineering
+ * Czech Technical University in Prague (CTU)
+ *
+ * The S-Function for ERT Linux can be distributed in compliance
+ * with GNU General Public License (GPL) version 2 or later.
+ * Other licence can negotiated with CTU.
+ *
+ * Next exception is granted in addition to GPL.
+ * Instantiating or linking compiled version of this code
+ * to produce an application image/executable, does not
+ * by itself cause the resulting application image/executable
+ * to be covered by the GNU General Public License.
+ * This exception does not however invalidate any other reasons
+ * why the executable file might be covered by the GNU Public License.
+ * Publication of enhanced or derived S-function files is required
+ * although.
+ *
+ * Linux ERT code is available from
+ *    http://rtime.felk.cvut.cz/gitweb/ert_linux.git
+ * More CTU Linux target for Simulink components are available at
+ *    http://lintarget.sourceforge.net/
+ *
+ * sfuntmpl_basic.c by The MathWorks, Inc. has been used to accomplish
+ * required S-function structure.
+ */
 
 #define S_FUNCTION_NAME  sfReadPWM
 #define S_FUNCTION_LEVEL 2