[−][src]Type Definition fomu_pac::reboot::ctrl::R
type R = R<u8, CTRL>;
Reader of register CTRL
Methods
impl R
[src]
pub fn image(&self) -> IMAGE_R
[src]
Bits 0:1 - Which image to reboot to. SB_WARMBOOT
supports four images that are configured at FPGA startup. The bootloader is image 0, so set these bits to 0 to reboot back into the bootloader.
pub fn key(&self) -> KEY_R
[src]
Bits 2:7 - A reboot key used to prevent accidental reboots when writing to random areas of memory. To initiate a reboot, set this to 0b101011
.