uRTEDemo_03_Nucleo-F446RE_SystemStates_10_Model

Software

Contains all execution units manages by the RTE and their interfaces.

Diagrams

Properties

containment

Software Component (3)

All software components in the model

Component Filename Generated Source-Folder Sub-Folder Units global Variables Ingoing Trigger Ports Outgoing Trigger Ports Ingoing Data Ports Outgoing Data Ports Hardware SILs Tests

Logic for the button

swc_button true - false
  • SWC_Button_OUT_Edge
  • SWC_Button_HW_IN
  • SWC_Button_OUT_Count
  • SWC_Button_OUT_State
QM

contains the logic to control the LED

swc_LED true - false
  • SWC_LED_Button_IN
  • SWC_Blinky_OUT
QM

Contains the logic for UART handling

SWC_UART true - false
  • SWC_UART_TriggerIN
  • SWC_UART_DPort_IN_2
  • SWC_UART_DataINPort
  • SWC_UART_UART_OUT
QM

Software units (7)

All software units in the model

Unit Parent Function calls Technical Functions Requirements Type Tasks WCET Stack ROM Globals ProtectionSets SIL req SIL ach sub Technical Functions (R) sub Requirements (R) Has a return value (R) SystemStates (R) Ingoing Trigger Ports (R) Outgoing Trigger Ports (R) Ingoing Data Ports (R) Outgoing Data Ports (R) Signals (D) Runnables (D) DataType (D) Is Synchronous (D) Hardware (D) Ports (G) Callers (F) Return Type (F) Parameters (F)

Reads the current button state from hardware

Button
InDriver 0 0 0
QM QM - - - - - - - - uRTE_boolean_t true - - - -

writes Data to the UART module.
No DataType is chosen, so that a typedef file will be generated.

UART
OutDriver 0 0 0
- QM - - - - - - - - None true - - - -

Hardware write-Interface towards the LED

LED
OutDriver 0 0 0
QM QM - - - - - - - - uRTE_boolean_t true - - - -

Controls the LED signal and thus the LED

LED
Runnable 0 0 0
- QM false
  • Runnable_00_blink_Tick
  • Runnable_blink_Button_IN
  • Runnable_00_blink_OUT
- - - - - - - - -

Sends UART messages periodically via the UART signal

UART
Runnable 0 0 0
QM QM
true
  • Runnable_run_UART_send_TPortIN_1
  • Runnable_run_UART_send_DPortIN_1
  • Runnable_run_UART_send_DPortIN_2
  • Runnable_run_UART_send_UART_OUT
- - - - - - - - -

Runnable to switch into the UART state if there is an event in the Blink State.
This runnable does not use hardware signals but accesses hardware directly and is therefore associated with
an protection set grandting access to hardware.

UART
Runnable 0 0 0
QM QM
true
  • Runnable_run_UART_WakeUP
- - - - - - - - -

Acquires the button state periodically and provides button signals

Button
Runnable 0 0 0
QM QM false
  • Runnable_run_readButton_Tick
  • Runnable_run_readButton_Edge_OUT
  • run_readButton_HW_IN
  • Runnable_run_readButton_Button_OUT
  • Runnable_run_readButton_button_pressed_cnt
- - - - - - - - -

Global Variables (1)

All global variables in the model

Global Variable Container DataType Requirements public (S) InitValue Storage Protection Set (S) SIL req SIL ach

internal counter for button press duration

run_readButton uRTE_uint16_t - 0 .button - QM QM