InDriver
ButtonRead
Reads the current button state from hardware
InDriver
Reads the current button state from hardware
Safety Warnings for InDriver ButtonRead.
Safety warnings are related to the Requirements Layer, especially the SIL
![]() |
Multiple Technical functions for ![]() ![]() ![]() |
Required | |
---|---|
![]() |
SIL_1 |
![]() |
derived |
![]() |
|
![]() |
SIL_1 |
Achieved | |
![]() |
QM |
![]() |
Base | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | ButtonRead | ||||||||||||||||||||||
![]() | ![]() |
||||||||||||||||||||||
![]() | Reads the current button state from hardware |
||||||||||||||||||||||
![]() | InDriver_44 | ||||||||||||||||||||||
![]() | _M4xQ4OZiEeyZ2OzYlvU4PA | ||||||||||||||||||||||
software unit configuration | |||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||
![]() |
0 | ||||||||||||||||||||||
![]() |
0 | ||||||||||||||||||||||
![]() |
0 | ||||||||||||||||||||||
driver configuration | |||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||
![]() |
true | ||||||||||||||||||||||
|
Component | Type | Start | End | SIL required | SIL achieved | Sub-Components | Technical Functions | sub Technical Functions | Requirements | sub Requirements |
---|---|---|---|---|---|---|---|---|---|---|
B1 [Blue PushButton] on the Nucleo Board |
Periphery | GPIOC_BASE | GPIOD_BASE - 1 | - | QM |
(Safety)Requirements referencing to InDriver ButtonRead.
(Safety)Requirement | Parent | User-ID | Author | Creation Date | Start Date | Deadline | Expense | Responsibe | Category | Type | Status | Justification | Function Type | SIL derived | SIL manual | SIL required | Tests | Technical Functions | Software | Other SW | 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 |
Technical functions referencing to InDriver ButtonRead.
Function | LFB | Software | Hardware | Other Software | SIL required | SIL achieved | SIL justification | sub Technical Functions | Requirements | sub Requirements |
---|---|---|---|---|---|---|---|---|---|---|
An LED shall blink to indicate that the system is alive and responding. |
SIL_1 | QM | ||||||||
If the button is pressed, UART messages indicating the press duration are sent. |
SIL_1 | QM |
DataSignals directly 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 required | SIL achieved | 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 | ![]() |
![]() |
DataSignals which are in the target chain of InDriver ButtonRead.
Signal | Storage | Runnables OUT | Runnables IN | Tasks | SystemStates | Requirements | miminum Age | maximum Age | Checksum | Force Sync | Inline | ISR API | effective inline | SIL required | SIL achieved | Initial value (D) | Pointer access (D) | Datatype (D) | Alt-In (D) | Alt-Out (D) | In-Driver (D) | Out-Driver (D) | OnData (D) | OnError (D) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A representation of the current button state |
local in |
0 | 105 | false | false | false | false | false | SIL_1 | QM | false | false | ![]() |
- |
|
|||||||||
contains the number of seconds, the button has been pressed |
global in ![]() |
0 | 202 | true | false | false | false | false | QM | QM | 0 | false | ![]() |
- | ||||||||||
Hardware interface for the LED |
local in |
0 | 0 | false | false | false | false | false | - | QM | 0 | false | ![]() |
- | ||||||||||
Hardware Out interface for UART. |
local in |
0 | 0 | false | false | false | false | false | QM | QM | true | ![]() |
- |
Runnables which use In- OR Out-signals with which InDriver ButtonRead is associated
Unit | Parent | Function calls | other Software Elements | Technical Functions | Requirements | Type | Tasks | WCET | Stack | ROM | Globals | ProtectionSets | SIL required | SIL achieved | 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 |
![]() |
Runnable | 0 | 0 | 0 | SIL_1 | QM | false |
|
|
|
|
Runnables which are in the target chain of InDriver ButtonRead.
Unit | Parent | Function calls | other Software Elements | Technical Functions | Requirements | Type | Tasks | WCET | Stack | ROM | Globals | ProtectionSets | SIL required | SIL achieved | 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 |
![]() |
Runnable | 0 | 0 | 0 | SIL_1 | QM | false |
|
|
|
|
||||||||||
Controls the LED signal and thus the LED |
![]() |
Runnable | 0 | 0 | 0 | SIL_1 | QM | false |
|
|
|
|||||||||||
Sends UART messages periodically via the UART signal |
![]() |
Runnable | 0 | 0 | 0 | SIL_1 | QM | true |
|
|
|
Hardware InDriver ButtonRead is associated with. Including executing CPUs, hardware referenced by its protectionSets and its direct hardware references.
Component | Type | Start | End | SIL required | SIL achieved | 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 |