[−][src]Struct wishbone_tool::riscv::RiscvCpuController
Implementations
impl RiscvCpuController
[src]
pub fn poll(
&self,
bridge: &Bridge,
gdb_controller: &mut GdbController
) -> Result<bool, RiscvCpuError>
[src]
&self,
bridge: &Bridge,
gdb_controller: &mut GdbController
) -> Result<bool, RiscvCpuError>
Poll the CPU and determine if it's running or not. If it transitions between states, handle this transition as appropriate.
pub fn interrupts_enabled(&self, bridge: &Bridge) -> Result<bool, RiscvCpuError>
[src]
pub fn get_current_trap(
&self,
bridge: &Bridge
) -> Result<RiscvException, RiscvCpuError>
[src]
&self,
bridge: &Bridge
) -> Result<RiscvException, RiscvCpuError>
Return the current CPU trap, which could be an interrupt or an exception.
Auto Trait Implementations
impl RefUnwindSafe for RiscvCpuController
impl Send for RiscvCpuController
impl Sync for RiscvCpuController
impl Unpin for RiscvCpuController
impl UnwindSafe for RiscvCpuController
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>,