Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
C implementation of an AUTOSAR Runnable defined in ARXML, adhering to safety-critical C coding guidelines.
/* AUTOSAR Runnable Implementation */
#include "Rte_MyComponent.h"
void MyRunnable(void)
{
/* Example: read input port, process, write output port */
int input = Rte_IRead_MyRunnable_InputPort();
int result = input * 2;
Rte_IWrite_MyRunnable_OutputPort(result);
}AUTOSAR (AUTomotive Open System ARchitecture) ARXML is an XML-based format used to describe automotive software components, system configurations, and communication interfaces. Combined with C code, it enables standardized embedded software development for automotive ECUs.
Origin & Creator
AUTOSAR consortium founded in 2003 by major automotive OEMs and suppliers to standardize automotive software architecture.
Industrial Note
Critical in automotive embedded systems where safety, modularity, and cross-vendor interoperability are required-especially in ADAS, powertrain, and body control ECUs.