Struct bern_arch::cortex_m::Arch [−][src]
pub struct Arch;
Trait Implementations
type MemoryRegion = MemoryRegion
type MemoryRegion = MemoryRegion
Precalculated memory region configuration.
Enable memory protection hardware.
Disable memory protection hardware.
Setup and enable one memory region. Read more
Disable one memory region.
Compile register values from configuration and store in MemoryRegion
. Read more
Compile register values for an unused memory region.
Apply 3 precompiled memory regions.
unsafe fn init_task_stack(
stack_ptr: *mut usize,
entry: *const usize,
arg: *const usize,
exit: *const usize
) -> *mut usize
unsafe fn init_task_stack(
stack_ptr: *mut usize,
entry: *const usize,
arg: *const usize,
exit: *const usize
) -> *mut usize
Init the stack of task. Read more
Start the first task.
Trigger context switch exception.
Initialize static memory section, which are not already initialized.
Disable any interrupt below priority.
Enable all interrupts.