Struct Fpu
pub struct Fpu { /* private fields */ }Expand description
FPU control peripheral 0.
Implementations§
§impl Fpu
impl Fpu
pub const unsafe fn from_ptr(ptr: *mut ()) -> Fpu
pub const fn as_ptr(&self) -> *mut ()
pub const fn events_invalidoperation(self) -> Reg<u32, RW>
pub const fn events_invalidoperation(self) -> Reg<u32, RW>
An FPUIOC exception triggered by an invalid operation has occurred in the FPU.
pub const fn events_dividebyzero(self) -> Reg<u32, RW>
pub const fn events_dividebyzero(self) -> Reg<u32, RW>
An FPUDZC exception triggered by a floating-point divide-by-zero operation has occurred in the FPU.
pub const fn events_overflow(self) -> Reg<u32, RW>
pub const fn events_overflow(self) -> Reg<u32, RW>
An FPUOFC exception triggered by a floating-point overflow has occurred in the FPU.
pub const fn events_underflow(self) -> Reg<u32, RW>
pub const fn events_underflow(self) -> Reg<u32, RW>
An FPUUFC exception triggered by a floating-point underflow has occurred in the FPU.
pub const fn events_inexact(self) -> Reg<u32, RW>
pub const fn events_inexact(self) -> Reg<u32, RW>
An FPUIXC exception triggered by an inexact floating-point operation has occurred in the FPU.
pub const fn events_denormalinput(self) -> Reg<u32, RW>
pub const fn events_denormalinput(self) -> Reg<u32, RW>
An FPUIDC exception triggered by a denormal floating-point input has occurred in the FPU.
Trait Implementations§
impl Copy for Fpu
impl Eq for Fpu
impl Send for Fpu
impl StructuralPartialEq for Fpu
impl Sync for Fpu
Auto Trait Implementations§
impl Freeze for Fpu
impl RefUnwindSafe for Fpu
impl Unpin for Fpu
impl UnsafeUnpin for Fpu
impl UnwindSafe for Fpu
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more