[][src]Type Definition fomu_pac::reboot::ctrl::W

type W = W<u8, CTRL>;

Writer for register CTRL

Methods

impl W[src]

pub fn image(&mut self) -> IMAGE_W[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(&mut self) -> KEY_W[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.