1 /* -------------------------------- Arctic Core ------------------------------
\r
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
\r
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
\r
6 * This source code is free software; you can redistribute it and/or modify it
\r
7 * under the terms of the GNU General Public License version 2 as published by the
\r
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
\r
10 * This program is distributed in the hope that it will be useful, but
\r
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
\r
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
\r
14 * -------------------------------- Arctic Core ------------------------------*/
\r
24 /* This file contains all runnable and instansiation */
\r
26 //-------------------------------------------------------------------
\r
30 //<void|Std_ReturnType> Rte_<name>( [IN Rte_Instance <instance>], [role parameters])
\r
32 // Triggered by RTEEvent(always)
\r
33 void Rte_Runnable_10ms( Rte_Instance ) {
\r
38 //-------------------------------------------------------------------
\r
39 // Applicatio headers
\r
47 Std_ReturnType status;
\r
50 // re - runnable entity
\r
51 Rte_DE_uint8* re1_doors_get_status;
\r
53 #define Rte_IRead_re1_doors_get_status(inst, data) ((inst)->doors_get_status
\r
55 //-------------------------------------------------------------------
\r
58 void Doors( void ) {
\r
63 void Doors_periodic( void ) {
\r
64 // read the door status from I/O HW
\r
67 Rte_IRead_Runnable_10ms_io_
\r