|
SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
TrustZone blinky, Non-Secure side (RP2350, Cortex-M33). More...
#include <stk.h>#include <sync/stk_sync.h>#include <time/stk_time.h>#include <arch/arm/cortex-m/stk_arch_arm-tz.h>#include "example.h"#include "pico/unique_id.h"Go to the source code of this file.
Classes | |
| class | MyTask< _AccessMode > |
Functions | |
| void | NSC_OnExitNs (void) |
| uint32_t | NSC_GetKey (uint8_t key[], uint32_t size) |
| void | NSC_GetBoardUID (pico_unique_board_id_t *id_out) |
| void | NSC_bsp_Led_SwitchOnExclusive (bsp::Led::Id led) |
| void | runtime_init_clocks (void) |
| void | pico_get_unique_board_id (pico_unique_board_id_t *id_out) |
| void | RunExample () |
Variables | |
| static constexpr size_t | TASK_STACK_SIZE = 256U |
| static const uint32_t | FLAGS_ALL [] |
| static stk::sync::EventFlags | g_TaskFlags (FLAGS_ALL[LED_RED]) |
| static stk::Ticks | g_Timeline = 0 |
TrustZone blinky, Non-Secure side (RP2350, Cortex-M33).
Definition in file blinky-trustzone-ns/example.cpp.
| void NSC_bsp_Led_SwitchOnExclusive | ( | bsp::Led::Id | led | ) |
Definition at line 115 of file blinky-trustzone-sc/example.cpp.
References __stk_tz_nsc_entry, HwCommand::CMD_LED_ON, stk::hw::IsPrivilegedContext(), s_HwCmdQueue, and bsp::Led::SwitchOnExclusive().
Referenced by MyTask< _AccessMode >::Run().
| void NSC_GetBoardUID | ( | pico_unique_board_id_t * | id_out | ) |
Definition at line 87 of file blinky-trustzone-sc/example.cpp.
References __stk_tz_nsc_entry, and pico_get_unique_board_id().
Referenced by pico_get_unique_board_id().
| uint32_t NSC_GetKey | ( | uint8_t | key[], |
| uint32_t | size ) |
Definition at line 93 of file blinky-trustzone-sc/example.cpp.
References __stk_tz_nsc_entry.
Referenced by RunExample().
| void NSC_OnExitNs | ( | void | ) |
Definition at line 79 of file blinky-trustzone-sc/example.cpp.
References __stk_tz_nsc_entry, and s_NsExitEnv.
Referenced by RunExample().
| void pico_get_unique_board_id | ( | pico_unique_board_id_t * | id_out | ) |
Definition at line 51 of file blinky-trustzone-ns/example.cpp.
References NSC_GetBoardUID().
Referenced by NSC_GetBoardUID().
| void RunExample | ( | void | ) |
Definition at line 129 of file blinky-trustzone-ns/example.cpp.
References LED_BLUE, LED_GREEN, LED_ORANGE, LED_RED, NSC_GetKey(), and NSC_OnExitNs().
| void runtime_init_clocks | ( | void | ) |
Definition at line 46 of file blinky-trustzone-ns/example.cpp.
|
static |
Definition at line 68 of file blinky-trustzone-ns/example.cpp.
Referenced by g_TaskFlags(), g_TaskFlags(), g_TaskFlags(), g_TaskFlags(), LedTask< _Priority, _AccessMode >::LedTask(), MyTask< _AccessMode >::MyTask(), MyTask< _AccessMode >::MyTask(), RunExample(), and RunExample().
|
static |
Referenced by LedTaskEntry(), LedTask< _Priority, _AccessMode >::Run(), MyTask< _AccessMode >::Run(), RunExample(), RunExample(), and TaskFunc().
|
static |
Definition at line 79 of file blinky-trustzone-ns/example.cpp.
Referenced by LedTaskEntry(), LedThread(), MainTask(), and LedTask< _Priority, _AccessMode >::Run().
|
staticconstexpr |
Definition at line 64 of file blinky-trustzone-ns/example.cpp.