uRTEDemo_03_Nucleo-F446RE_SystemStates_10_Model

Logical Function Block

LED

An LED to indicate a binary state

Diagrams

Safety

Required
SIL SIL_1

Properties

Base
NameLED
Type LogicalFunctionBlock
Description

An LED to indicate a binary state

User-IDLogicalFunctionBlock_27
UID_eFgSYOZREeyZ2OzYlvU4PA
Stereotype
Type Output
References

Technical Functions (1)

System functionalities (technical functions) this logical function block is associated with.

Function LFB Software Hardware Technical Functions sub Technical Functions Requirements sub Requirements

An LED shall blink to indicate that the system is alive and responding.

Ports
Port Flow
LED_IN (LogicalFunctionPort_30)

LED control

  • LED state (LogicalFunctionFlow_28)

Functional Layer

Logical Function Blocks (2)

Logical Function Blocks which which are associated with the Technical Functions.

Function Type Technical functions

An binary HMI

Input

The MCU implementing the logic

Service

Requirement Layer

Hazard Scenarios (1)

Hazard Scenarios for associated Hazardous Events.

Hazard Scenario Parent Hazard Events

This would be very sad.

Hazardous Events (2)

Hazardous Events for associated Safety Goals.

Hazardous Event Parent Probability Controllability Effect SIL Safety-Goals

The user might think µRTE is hard to use.

QM

The customer might not see the full spectrum of features µRTE comes with.

QM

Safetygoals (1)

Safety Goals linking to the Requirements.

Safety Goal Parent Function Type SIL derived SIL manual SIL effective Safe State Safety Requirements

An small demo model with the most important features shall show the most important features of µRTE.

System_Function QM derived QM Show slides

(Safety)Requirements (3)

(Safety)Requirements linking to the Technical Functions.

(Safety)Requirement Parent User-ID Author Creation Date Start Date Deadline Expense Responsibe Category Type Status Function Type SIL derived SIL manual SIL effective Tests Technical Functions Software Hardware Signals Global variables Activation events Use-Cases User-Stories Refining Conflicting refined by conflicted by

In order to indicate that uRTE is up and running, an LED shall blink (toggle its binary state) with an frequency of 1/100ms.

Requirement_32 Thomas Barth Tue Jun 07 13:05:57 CEST 2022 0.0 Thomas Barth product functional implemented - - - -

While the button is pressed, the LED shall be on permanently.

Requirement_93 Wed Jun 08 17:18:27 CEST 2022 0.0 product functional implemented - - - -

Runnables can be activated by cyclic events.

SafetyRequirement_95 Thomas Barth Wed Jun 08 17:34:15 CEST 2022 0.0 Thomas Barth product functional implemented System_Function QM SIL_1 SIL_1

Software Layer

Software units (4)

Sofware units the associated technical functions are associated with. See associated tasks for more software dependencies.

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 - - - -

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
- - - - - - - - -

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
- - - - - - - - -

Hardware Layer

Hardware Components (1)

Hardware Components the associated technical functions are associated with. See associated tasks for more hardware dependencies.

Component Type Start End SIL req SIL ach Sub-Components Technical Functions sub Technical Functions Requirements sub Requirements

LD2 [Green Led] on the Nucelo Board

Periphery GPIOA_BASE GPIOB_BASE - 1 - QM