Runnable
run_readButton
Acquires the button state periodically and provides button signals
Runnable
Acquires the button state periodically and provides button signals
Safety Warnings for Runnable run_readButton.
Safety warnings are related to the Requirements Layer, especially the SIL
Multiple Technical functions for run_readButton: Blinking LED, UART |
Required | |
---|---|
SIL derived | QM |
overwrite (SIL_manual) | derived |
reason (SIL_manual_reason) | |
SIL | QM |
Achieved | |
SIL achieved | QM |
justification |
Base | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | run_readButton | ||||||||||||||||||||
Type | Runnable | ||||||||||||||||||||
Description | Acquires the button state periodically and provides button signals |
||||||||||||||||||||
User-ID | Runnable_36 | ||||||||||||||||||||
UID | _QXUQ0OZhEeyZ2OzYlvU4PA | ||||||||||||||||||||
software unit configuration | |||||||||||||||||||||
Parent | Button | ||||||||||||||||||||
WCET | 0 | ||||||||||||||||||||
Stack | 0 | ||||||||||||||||||||
ROM | 0 | ||||||||||||||||||||
Global Variables (1)global variables for this function
| |||||||||||||||||||||
runnable configuration | |||||||||||||||||||||
Has a return value | false | ||||||||||||||||||||
System-States (2)Systemstates the runnable is active in.
| |||||||||||||||||||||
Ports | |||||||||||||||||||||
Ingoing Trigger Ports (1)Trigger IN ports attached runnable run_readButton.
| |||||||||||||||||||||
Outgoing Trigger Ports (1)Trigger OUT ports attached to runnable run_readButton.
| |||||||||||||||||||||
Ingoing Data Ports (1)Data IN ports attached to runnable run_readButton.
| |||||||||||||||||||||
Outgoing Data Ports (2)Data OUT ports attached to runnable run_readButton.
|
(Safety)Requirements referencing to runnable run_readButton.
(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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Global variables can store data for Runnables and other Software Functions. |
SafetyRequirement_94 | Thomas Barth | Wed Jun 08 17:34:15 CEST 2022 | 0.0 | Thomas Barth | product | functional | implemented | System_Function | QM | derived | QM |
(Safety)Requirements referencing to guards, functions and drivers
(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 |
Technical functions referencing to runnable run_readButton.
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. |
Technical functions referencing to guards, functions and drivers of runnable run_readButton.
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. |
Ingoing signals of runnable run_readButton.
Signal | Type | 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) | OnTrigger (E) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Hardware interface for the button |
Data | local in |
0 | 2 | false | false | false | false | false | - | QM | false | false | uRTE_boolean_t | ButtonRead | - |
Outgoing signals of runnable run_readButton.
Signal | Type | 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) | OnTrigger (E) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A representation of the current button state |
Data | local in |
0 | 105 | false | false | false | false | false | SIL_1 | QM | false | false | uRTE_boolean_t | - |
|
- | |||||||||
contains the number of seconds, the button has been pressed |
Data | global in Button |
0 | 202 | true | false | false | false | false | QM | QM | 0 | false | button_cnt_t | - | - | ||||||||||
Fired whenever the button is pressed (but not if it is released) |
Event | local in |
0 | 0 | false | false | false | false | false | QM | QM | - | - | - | - | - | - | - | - | - |
|
Software units which are associated with runnable run_readButton.
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 | - | - | - | - |
Tasks runnable run_readButton is executed by.
Task | Core | SIL | Priority | Software | States | Signals | Init | Hardware | OutputSections | Own TimeBase | Stack |
---|---|---|---|---|---|---|---|---|---|---|---|
Task responsible for reading the button state |
Arm® Cortex®-M4 | SIL_1 | 6 | - | false | .rtos.task.Button |
Datatypes runnable run_readButton is associated with.
Type | Atomic | Primitive | Initial value | Typedef path | Signals | Drivers | Global Variables |
---|---|---|---|---|---|---|---|
Saves the number of ticks an button has been pressed |
false | false | 0 | generated at src_rte\signals\types\button_cnt_t_type.h | |||
This type used by uRTE internally and is avaiable for general purpose. Its save to delete this type if it is not needed. |
true | true | 0 | generated at src_rte\signals\types\uRTE_boolean_t_type.h | |||
This type used by uRTE internally and is avaiable for general purpose. Its save to delete this type if it is not needed. |
true | true | 0 | generated at src_rte\signals\types\uRTE_uint16_t_type.h |
Activation Events triggering the execution of runnable run_readButton.
Event | Type | Cycle Time (C) | Offset (C) | Task-Init (S) | Requirements | Ports | Runnables | Tasks | SystemStates | SIL req | SIL ach |
---|---|---|---|---|---|---|---|---|---|---|---|
Timebase for button read operations |
CyclicEvent | 200 | 0 | - |
|
SIL_1 | QM |
Runnables triggered by runnable run_readButton.
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sends UART messages periodically via the UART signal |
UART | Runnable | 0 | 0 | 0 | QM | QM | true |
|
|
|
||||||||||
Runnable to switch into the UART state if there is an event in the Blink State. |
UART | Runnable | 0 | 0 | 0 | QM | QM | true |
|
Runnables receiving data from runnable run_readButton.
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Controls the LED signal and thus the LED |
LED | Runnable | 0 | 0 | 0 | - | QM | false |
|
|
|
||||||||||
Sends UART messages periodically via the UART signal |
UART | Runnable | 0 | 0 | 0 | QM | QM | true |
|
|
|
Hardware runnable run_readButton is associated with. Including executing CPUs, hardware referenced by its protectionSets and driver hardware of connecting signals.
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 |