]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/commitdiff
Create base layout for RPP library.
authorCarlos Miguel Jenkins Pérez <carlos@jenkins.co.cr>
Sat, 18 May 2013 22:58:02 +0000 (00:58 +0200)
committerCarlos Miguel Jenkins Pérez <carlos@jenkins.co.cr>
Sat, 18 May 2013 22:58:02 +0000 (00:58 +0200)
31 files changed:
rpp/lib/rpp/generate.py [new file with mode: 0755]
rpp/lib/rpp/include/RppConfig.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_ain.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_aout.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_can.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_din.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_dout.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_eth.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_fr.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_hout.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_lin.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_mout.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_pout.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_sci.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_sdc.h [new file with mode: 0644]
rpp/lib/rpp/include/rpp_sdr.h [new file with mode: 0644]
rpp/lib/rpp/rpp_ain.c [new file with mode: 0644]
rpp/lib/rpp/rpp_aout.c [new file with mode: 0644]
rpp/lib/rpp/rpp_can.c [new file with mode: 0644]
rpp/lib/rpp/rpp_din.c [new file with mode: 0644]
rpp/lib/rpp/rpp_dout.c [new file with mode: 0644]
rpp/lib/rpp/rpp_eth.c [new file with mode: 0644]
rpp/lib/rpp/rpp_fr.c [new file with mode: 0644]
rpp/lib/rpp/rpp_hout.c [new file with mode: 0644]
rpp/lib/rpp/rpp_lin.c [new file with mode: 0644]
rpp/lib/rpp/rpp_mout.c [new file with mode: 0644]
rpp/lib/rpp/rpp_pout.c [new file with mode: 0644]
rpp/lib/rpp/rpp_sci.c [new file with mode: 0644]
rpp/lib/rpp/rpp_sdc.c [new file with mode: 0644]
rpp/lib/rpp/rpp_sdr.c [new file with mode: 0644]

diff --git a/rpp/lib/rpp/generate.py b/rpp/lib/rpp/generate.py
new file mode 100755 (executable)
index 0000000..0a081e7
--- /dev/null
@@ -0,0 +1,114 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+import os
+from collections import OrderedDict
+
+header = '''\
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : {prefix}{mne}{ext}
+ * Abstract:
+ *     {abstract}
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
+'''
+
+config_doc = '''\
+/**
+ * Modules include RPP configuration options
+ */
+'''
+
+files = OrderedDict([
+        ('din'  , 'Digital Input RPP API {type_name} file.'),
+        ('dout' , 'Digital Output RPP API {type_name} file.'),
+        ('ain'  , 'Analog Input RPP API {type_name} file.'),
+        ('aout' , 'Analog Output RPP API {type_name} file.'),
+        ('hout' , 'H-Bridge Output RPP API {type_name} file.'),
+        ('pout' , 'Power Output (Push/Pull) RPP API {type_name} file.'),
+        ('mout' , 'High-Power Output RPP API {type_name} file.'),
+        ('can'  , 'CAN Bus Communication RPP API {type_name} file.'),
+        ('lin'  , 'LIN Communication RPP API {type_name} file.'),
+        ('fr'   , 'FlexRay Communication RPP API {type_name} file.'),
+        ('sci'  , 'Serial Communication Interface RPP API {type_name} file.'),
+        ('eth'  , 'Ethernet Communication RPP API {type_name} file.'),
+        ('sdc'  , 'SD Card logging RPP API {type_name} file.'),
+        ('sdr'  , 'SD-RAN logging RPP API {type_name} file.'),
+    ])
+
+
+def generate_file(where, prefix, mne, ext, abstract, type_name):
+    filename = where + prefix + mne + ext
+    with open(filename, 'w') as f:
+        f.write(header.format(**locals()))
+
+
+def generate_files():
+
+    if not os.path.exists('include'):
+        os.makedirs('include')
+
+    # Generate files
+    for where, ext, type_name in [['include/', '.h', 'header'        ],
+                                  ['',         '.c', 'implementation']]:
+        for mne in files:
+            abstract = files[mne].format(**locals())
+            generate_file(where, 'rpp_', mne, ext, abstract, type_name)
+
+    # Generate config file
+    with open('include/RppConfig.h', 'w') as f:
+
+        # Write header
+        f.write(header.format(prefix='',
+                              mne='RppConfig',
+                              ext='.h',
+                              abstract='RPP API configuration file.'))
+
+        # Write include configuration options
+        f.write(config_doc)
+        for mne in files:
+            f.write('#define rppCONFIG_INCLUDE_{mne}        1\n'.format(mne=mne.upper()))
+        f.write('\n\n')
+
+    # Generate API header file
+    with open('include/rpp.h', 'w') as f:
+
+        # Write header
+        f.write(header.format(prefix='',
+                              mne='rpp',
+                              ext='.h',
+                              abstract='RPP API library header file.'))
+
+        # Include configuration file
+        f.write('#include "RppConfig.h"\n\n')
+
+        # Write includes
+        for mne in files:
+            f.write('#if rppCONFIG_INCLUDE_{mne} == 1\n'.format(mne=mne.upper()))
+            f.write('#include "rpp_{mne}.h"\n'.format(mne=mne))
+            f.write('#endif\n\n')
+
+
+if __name__ == '__main__':
+    generate_files()
diff --git a/rpp/lib/rpp/include/RppConfig.h b/rpp/lib/rpp/include/RppConfig.h
new file mode 100644 (file)
index 0000000..41ed3b9
--- /dev/null
@@ -0,0 +1,46 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : RppConfig.h
+ * Abstract:
+ *     RPP API configuration file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
+/**
+ * Modules include RPP configuration options
+ */
+#define rppCONFIG_INCLUDE_DIN        1
+#define rppCONFIG_INCLUDE_DOUT        1
+#define rppCONFIG_INCLUDE_AIN        1
+#define rppCONFIG_INCLUDE_AOUT        1
+#define rppCONFIG_INCLUDE_HOUT        1
+#define rppCONFIG_INCLUDE_POUT        1
+#define rppCONFIG_INCLUDE_MOUT        1
+#define rppCONFIG_INCLUDE_CAN        1
+#define rppCONFIG_INCLUDE_LIN        1
+#define rppCONFIG_INCLUDE_FR        1
+#define rppCONFIG_INCLUDE_SCI        1
+#define rppCONFIG_INCLUDE_ETH        1
+#define rppCONFIG_INCLUDE_SDC        1
+#define rppCONFIG_INCLUDE_SDR        1
+
+
diff --git a/rpp/lib/rpp/include/rpp.h b/rpp/lib/rpp/include/rpp.h
new file mode 100644 (file)
index 0000000..c8f0713
--- /dev/null
@@ -0,0 +1,85 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp.h
+ * Abstract:
+ *     RPP API library header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
+#include "RppConfig.h"
+
+#if rppCONFIG_INCLUDE_DIN == 1
+#include "rpp_din.h"
+#endif
+
+#if rppCONFIG_INCLUDE_DOUT == 1
+#include "rpp_dout.h"
+#endif
+
+#if rppCONFIG_INCLUDE_AIN == 1
+#include "rpp_ain.h"
+#endif
+
+#if rppCONFIG_INCLUDE_AOUT == 1
+#include "rpp_aout.h"
+#endif
+
+#if rppCONFIG_INCLUDE_HOUT == 1
+#include "rpp_hout.h"
+#endif
+
+#if rppCONFIG_INCLUDE_POUT == 1
+#include "rpp_pout.h"
+#endif
+
+#if rppCONFIG_INCLUDE_MOUT == 1
+#include "rpp_mout.h"
+#endif
+
+#if rppCONFIG_INCLUDE_CAN == 1
+#include "rpp_can.h"
+#endif
+
+#if rppCONFIG_INCLUDE_LIN == 1
+#include "rpp_lin.h"
+#endif
+
+#if rppCONFIG_INCLUDE_FR == 1
+#include "rpp_fr.h"
+#endif
+
+#if rppCONFIG_INCLUDE_SCI == 1
+#include "rpp_sci.h"
+#endif
+
+#if rppCONFIG_INCLUDE_ETH == 1
+#include "rpp_eth.h"
+#endif
+
+#if rppCONFIG_INCLUDE_SDC == 1
+#include "rpp_sdc.h"
+#endif
+
+#if rppCONFIG_INCLUDE_SDR == 1
+#include "rpp_sdr.h"
+#endif
+
diff --git a/rpp/lib/rpp/include/rpp_ain.h b/rpp/lib/rpp/include/rpp_ain.h
new file mode 100644 (file)
index 0000000..9a75e84
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_ain.h
+ * Abstract:
+ *     Analog Input RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_aout.h b/rpp/lib/rpp/include/rpp_aout.h
new file mode 100644 (file)
index 0000000..ff628bd
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_aout.h
+ * Abstract:
+ *     Analog Output RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_can.h b/rpp/lib/rpp/include/rpp_can.h
new file mode 100644 (file)
index 0000000..4db1a7b
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_can.h
+ * Abstract:
+ *     CAN Bus Communication RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_din.h b/rpp/lib/rpp/include/rpp_din.h
new file mode 100644 (file)
index 0000000..022e276
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_din.h
+ * Abstract:
+ *     Digital Input RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_dout.h b/rpp/lib/rpp/include/rpp_dout.h
new file mode 100644 (file)
index 0000000..8b8c39f
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_dout.h
+ * Abstract:
+ *     Digital Output RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_eth.h b/rpp/lib/rpp/include/rpp_eth.h
new file mode 100644 (file)
index 0000000..a41075c
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_eth.h
+ * Abstract:
+ *     Ethernet Communication RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_fr.h b/rpp/lib/rpp/include/rpp_fr.h
new file mode 100644 (file)
index 0000000..3e34393
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_fr.h
+ * Abstract:
+ *     FlexRay Communication RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_hout.h b/rpp/lib/rpp/include/rpp_hout.h
new file mode 100644 (file)
index 0000000..4f101ba
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_hout.h
+ * Abstract:
+ *     H-Bridge Output RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_lin.h b/rpp/lib/rpp/include/rpp_lin.h
new file mode 100644 (file)
index 0000000..4d470f1
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_lin.h
+ * Abstract:
+ *     LIN Communication RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_mout.h b/rpp/lib/rpp/include/rpp_mout.h
new file mode 100644 (file)
index 0000000..9ceabec
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_mout.h
+ * Abstract:
+ *     High-Power Output RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_pout.h b/rpp/lib/rpp/include/rpp_pout.h
new file mode 100644 (file)
index 0000000..0d6e96e
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_pout.h
+ * Abstract:
+ *     Power Output (Push/Pull) RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_sci.h b/rpp/lib/rpp/include/rpp_sci.h
new file mode 100644 (file)
index 0000000..16638c0
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_sci.h
+ * Abstract:
+ *     Serial Communication Interface RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_sdc.h b/rpp/lib/rpp/include/rpp_sdc.h
new file mode 100644 (file)
index 0000000..a646513
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_sdc.h
+ * Abstract:
+ *     SD Card logging RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/include/rpp_sdr.h b/rpp/lib/rpp/include/rpp_sdr.h
new file mode 100644 (file)
index 0000000..73eb4df
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_sdr.h
+ * Abstract:
+ *     SD-RAN logging RPP API header file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_ain.c b/rpp/lib/rpp/rpp_ain.c
new file mode 100644 (file)
index 0000000..7bc91ed
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_ain.c
+ * Abstract:
+ *     Analog Input RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_aout.c b/rpp/lib/rpp/rpp_aout.c
new file mode 100644 (file)
index 0000000..56848b0
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_aout.c
+ * Abstract:
+ *     Analog Output RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_can.c b/rpp/lib/rpp/rpp_can.c
new file mode 100644 (file)
index 0000000..041eaee
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_can.c
+ * Abstract:
+ *     CAN Bus Communication RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_din.c b/rpp/lib/rpp/rpp_din.c
new file mode 100644 (file)
index 0000000..f9a1d82
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_din.c
+ * Abstract:
+ *     Digital Input RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_dout.c b/rpp/lib/rpp/rpp_dout.c
new file mode 100644 (file)
index 0000000..6680029
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_dout.c
+ * Abstract:
+ *     Digital Output RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_eth.c b/rpp/lib/rpp/rpp_eth.c
new file mode 100644 (file)
index 0000000..56f30dc
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_eth.c
+ * Abstract:
+ *     Ethernet Communication RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_fr.c b/rpp/lib/rpp/rpp_fr.c
new file mode 100644 (file)
index 0000000..26ad08d
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_fr.c
+ * Abstract:
+ *     FlexRay Communication RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_hout.c b/rpp/lib/rpp/rpp_hout.c
new file mode 100644 (file)
index 0000000..146df80
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_hout.c
+ * Abstract:
+ *     H-Bridge Output RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_lin.c b/rpp/lib/rpp/rpp_lin.c
new file mode 100644 (file)
index 0000000..9dcb3c9
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_lin.c
+ * Abstract:
+ *     LIN Communication RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_mout.c b/rpp/lib/rpp/rpp_mout.c
new file mode 100644 (file)
index 0000000..1a10214
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_mout.c
+ * Abstract:
+ *     High-Power Output RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_pout.c b/rpp/lib/rpp/rpp_pout.c
new file mode 100644 (file)
index 0000000..96d8c0d
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_pout.c
+ * Abstract:
+ *     Power Output (Push/Pull) RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_sci.c b/rpp/lib/rpp/rpp_sci.c
new file mode 100644 (file)
index 0000000..2c40e54
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_sci.c
+ * Abstract:
+ *     Serial Communication Interface RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_sdc.c b/rpp/lib/rpp/rpp_sdc.c
new file mode 100644 (file)
index 0000000..dcdf9d7
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_sdc.c
+ * Abstract:
+ *     SD Card logging RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+
diff --git a/rpp/lib/rpp/rpp_sdr.c b/rpp/lib/rpp/rpp_sdr.c
new file mode 100644 (file)
index 0000000..10a9fc9
--- /dev/null
@@ -0,0 +1,27 @@
+/* Copyright (C) 2013 Czech Technical University in Prague
+ *
+ * Authors:
+ *     - Carlos Jenkins <carlos@jenkins.co.cr>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * File : rpp_sdr.c
+ * Abstract:
+ *     SD-RAN logging RPP API implementation file.
+ *
+ * References:
+ *     RPP API documentation.
+ */
+
+