![]() |
SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
Aggregated hardware MPU setup configuration and state descriptor. More...
#include <stk_common.h>
Public Member Functions | |
| MpuConfig () | |
| Default constructor initializing an empty, disabled MPU configuration. | |
| MpuConfig (const MpuRegionList ®ions_, uint32_t mode_) | |
| Parameterized constructor initializing MPU region settings and enable state. | |
Public Attributes | |
| MpuRegionList | regions |
| Fixed-capacity collection of configured MPU region descriptors. | |
| uint32_t | mode |
| Mode flags (hardware-dependent, see hw::mpu::EMpuConfigFlags). | |
Static Public Attributes | |
| static constexpr uint32_t | MPU_OFF = static_cast<TId>(0U) |
Aggregated hardware MPU setup configuration and state descriptor.
Wraps a static fixed-capacity collection of MPU region descriptors (MpuRegionList) along with an overall enable flag controlling hardware MPU initialization and activation.
Definition at line 352 of file stk_common.h.
|
inline |
Default constructor initializing an empty, disabled MPU configuration.
Definition at line 361 of file stk_common.h.
|
inline |
Parameterized constructor initializing MPU region settings and enable state.
| [in] | regions_ | Initial collection of MPU region descriptors. |
| [in] | enable_ | Activation state flag for the hardware MPU subsystem. |
Definition at line 368 of file stk_common.h.
| uint32_t stk::MpuConfig::mode |
Mode flags (hardware-dependent, see hw::mpu::EMpuConfigFlags).
Definition at line 372 of file stk_common.h.
Referenced by MpuConfig(), and MpuConfig().
|
staticconstexpr |
Definition at line 357 of file stk_common.h.
Referenced by MpuConfig().
| MpuRegionList stk::MpuConfig::regions |
Fixed-capacity collection of configured MPU region descriptors.
Definition at line 371 of file stk_common.h.
Referenced by MpuConfig(), and MpuConfig().