pub trait BootCtl {
// Required methods
fn is_boot_requested(&self) -> bool;
fn system_reset(&mut self, mode: BootMode) -> !;
}Expand description
Trait for system boot control.
Required Methods§
Sourcefn is_boot_requested(&self) -> bool
fn is_boot_requested(&self) -> bool
Returns true if the bootloader was explicitly requested (e.g. via boot mode register).
Sourcefn system_reset(&mut self, mode: BootMode) -> !
fn system_reset(&mut self, mode: BootMode) -> !
Reset the system into the specified boot mode.