SystemState
Blink
In this state, an LED will blink.
SystemState
In this state, an LED will blink.
Base | |
---|---|
Name | Blink |
Type | SystemState |
Description | In this state, an LED will blink. |
User-ID | SystemState_12 |
UID | _bpx18OTUEeyrV5NXTwe27Q |
This is the initial state of the RTE |
Runnables associated with this system-state.
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 |
|
|
|
||||||||||
Runnable to switch into the UART state if there is an event in the Blink State. |
UART | Runnable | 0 | 0 | 0 | QM | QM | true |
|
||||||||||||
Acquires the button state periodically and provides button signals |
Button | Runnable | 0 | 0 | 0 | QM | QM | false |
|
|
|
|
Tasks active in this system-state.
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 | |||||
Task responsible to let the LED blink |
Arm® Cortex®-M4 | SIL_1 | 4 | - | false | .rtos.task.LED | |||||
Task responsible for sending out UART protocolls |
Arm® Cortex®-M4 | SIL_1 | 5 | - | false | .rtos.task.UART |
Signals active in this system-state.
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 LED |
Data | local in |
0 | 0 | false | false | false | false | false | - | QM | 0 | false | uRTE_boolean_t | - | - | ||||||||||
Hardware interface for the button |
Data | local in |
0 | 2 | false | false | false | false | false | - | QM | false | false | uRTE_boolean_t | ButtonRead | - | ||||||||||
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 | - | - | - | - | - | - | - | - | - |
|
Cores active for this state, Driver hardware of the signals accessed by the runnables and hardware referenced by protectionsets used by the runnables, their gurard or drivers of signals used by the runnables.
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 | |||||
LD2 [Green Led] on the Nucelo Board |
Periphery | GPIOA_BASE | GPIOB_BASE - 1 | - | QM | |||||
B1 [Blue PushButton] on the Nucleo Board |
Periphery | GPIOC_BASE | GPIOD_BASE - 1 | - | QM | |||||
UART module connected to pin TX/RX PA2/PA3 at 115200 8N1 |
Periphery | USART2_BASE | USART3_BASE - 1 | - | QM |