Autosar Compendium Part 1 Application Rte Pdf Free Printable Pdf File -
After you run the RTE Generator (e.g., Vector DaVinci, ETAS ISOLAR), the RTE creates the following communication:
In Rte_TempSensor.c:
void TempSensor_MainFunction(void)
uint16 measured = ReadADC();
// RTE sends data to all connected receivers
Rte_Write_TemperaturePort(measured);
In Rte_FanControl.c:
void FanControl_Runnable(void)
uint16 currentTemp;
// RTE receives data from the sender
Rte_Read_TemperaturePort(¤tTemp);
if(currentTemp > 80)
Rte_Call_FanOnPort();
The AUTOSAR Compendium Part 1 dedicates an entire chapter to these generated API patterns. Having these examples in a printable PDF allows you to code without flipping between 10 different browser tabs. After you run the RTE Generator (e
The actual code inside an SW-C is encapsulated in Runnable Entities. In Rte_FanControl
The fundamental building block of the Application Layer is the Software Component (SW-C) . Unlike monolithic legacy code, an AUTOSAR SW-C is a modular, reusable piece of application logic. The AUTOSAR Compendium Part 1 dedicates an entire
There are several types of SW-Cs:
