uRTEDemo_03_Nucleo-F446RE_SystemStates_10_Model

InDriver

ButtonRead

Reads the current button state from hardware

Warnings

Safety (1)

Safety Warnings for InDriver ButtonRead.
Safety warnings are related to the Requirements Layer, especially the SIL

Multiple Technical functions for ButtonRead: Blinking LED, UART

Diagrams

Safety

Required
SIL derived QM
overwrite (SIL_manual) derived
reason (SIL_manual_reason)
SIL QM
Achieved
SIL achieved QM
justification

Properties

Base
NameButtonRead
Type InDriver
Description

Reads the current button state from hardware

User-IDInDriver_44
UID_M4xQ4OZiEeyZ2OzYlvU4PA
software unit configuration
Parent Button
WCET 0
Stack 0
ROM 0
driver configuration
DataType uRTE_boolean_t
Is Synchronous true

Hardware Components (1)

Hardware the driver communicates with.

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

B1 [Blue PushButton] on the Nucleo Board

Periphery GPIOC_BASE GPIOD_BASE - 1 - QM

Requirement Layer

(Safety)Requirements (1)

(Safety)Requirements referencing to InDriver ButtonRead.

(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

How to read and write data form and to hardware.

SafetyRequirement_110 Thomas Barth Thu Jun 09 20:50:22 CEST 2022 0.0 Thomas Barth product functional approved System_Function QM derived QM

Functional Layer

Technical Functions (2)

Technical functions referencing to InDriver ButtonRead.

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.

If the button is pressed, UART messages indicating the press duration are sent.

Software Layer

Data-Signals (1)

Signals using InDriver ButtonRead.

Signal Storage Runnables OUT Runnables IN Tasks SystemStates Requirements miminum Age maximum Age Checksum Force Sync Inline ISR API effective inline SIL req SIL ach Initial value (D) Pointer access (D) Datatype (D) Alt-In (D) Alt-Out (D) In-Driver (D) Out-Driver (D) OnData (D) OnError (D)

Hardware interface for the button

local in
0 2 false false false false false - QM false false uRTE_boolean_t
ButtonRead

Runnables (1)

Runnables which use In- OR Out-signals with which InDriver ButtonRead is associated

Unit Parent Function calls Technical Functions Requirements Type Tasks WCET Stack ROM Globals ProtectionSets SIL req SIL ach sub Technical Functions sub Requirements) Has a return value SystemStates Ingoing Trigger Ports Outgoing Trigger Ports Ingoing Data Ports Outgoing Data Ports

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 (2)

Hardware InDriver ButtonRead is associated with. Including executing CPUs, hardware referenced by its protectionSets and its direct hardware references.

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

Arm® 32-bit Cortex®-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator) allowing 0-wait state execution from Flash memory, frequency up to 180 MHz, MPU, 225 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP instructions

Core - - - QM

B1 [Blue PushButton] on the Nucleo Board

Periphery GPIOC_BASE GPIOD_BASE - 1 - QM