[−][src]Struct fomu_pac::reboot::RegisterBlock
Register block
Fields
ctrl: CTRL
0x00 - Provides support for rebooting the FPGA. You can select which of the four images to reboot to, just be sure to OR the image number with 0xac
. For example, to reboot to the bootloader (image 0), write ``0xac``` to this register.
addr3: ADDR3
0x04 - Bits 24-31 of REBOOT_ADDR
. This sets the reset vector for the VexRiscv. This address will be used whenever the CPU is reset, for example through a debug bridge. You should update this address whenever you load a new program, to enable the debugger to run mon reset
addr2: ADDR2
0x08 - Bits 16-23 of REBOOT_ADDR
.
addr1: ADDR1
0x0c - Bits 8-15 of REBOOT_ADDR
.
addr0: ADDR0
0x10 - Bits 0-7 of REBOOT_ADDR
.
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,