[][src]Struct riscv::register::mip::Mip

pub struct Mip { /* fields omitted */ }

mip register

Implementations

impl Mip[src]

pub fn bits(&self) -> usize[src]

Returns the contents of the register as raw bits

pub fn usoft(&self) -> bool[src]

User Software Interrupt Pending

pub fn ssoft(&self) -> bool[src]

Supervisor Software Interrupt Pending

pub fn msoft(&self) -> bool[src]

Machine Software Interrupt Pending

pub fn utimer(&self) -> bool[src]

User Timer Interrupt Pending

pub fn stimer(&self) -> bool[src]

Supervisor Timer Interrupt Pending

pub fn mtimer(&self) -> bool[src]

Machine Timer Interrupt Pending

pub fn uext(&self) -> bool[src]

User External Interrupt Pending

pub fn sext(&self) -> bool[src]

Supervisor External Interrupt Pending

pub fn mext(&self) -> bool[src]

Machine External Interrupt Pending

Trait Implementations

impl Clone for Mip[src]

impl Copy for Mip[src]

impl Debug for Mip[src]

Auto Trait Implementations

impl Send for Mip

impl Sync for Mip

impl Unpin for Mip

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.