Struct cortex_m::register::fpscr::Fpscr[][src]

pub struct Fpscr { /* fields omitted */ }

Floating-point Status Control Register

Implementations

impl Fpscr[src]

pub fn from_bits(bits: u32) -> Self[src]

Creates a Fspcr value from raw bits.

pub fn bits(self) -> u32[src]

Returns the contents of the register as raw bits

pub fn n(self) -> bool[src]

Read the Negative condition code flag

pub fn set_n(&mut self, n: bool)[src]

Sets the Negative condition code flag

pub fn z(self) -> bool[src]

Read the Zero condition code flag

pub fn set_z(&mut self, z: bool)[src]

Sets the Zero condition code flag

pub fn c(self) -> bool[src]

Read the Carry condition code flag

pub fn set_c(&mut self, c: bool)[src]

Sets the Carry condition code flag

pub fn v(self) -> bool[src]

Read the Overflow condition code flag

pub fn set_v(&mut self, v: bool)[src]

Sets the Zero condition code flag

pub fn ahp(self) -> bool[src]

Read the Alternative Half Precision bit

pub fn set_ahp(&mut self, ahp: bool)[src]

Sets the Alternative Half Precision bit

pub fn dn(self) -> bool[src]

Read the Default NaN mode bit

pub fn set_dn(&mut self, dn: bool)[src]

Sets the Default NaN mode bit

pub fn fz(self) -> bool[src]

Read the Flush to Zero mode bit

pub fn set_fz(&mut self, fz: bool)[src]

Sets the Flush to Zero mode bit

pub fn rmode(self) -> RMode[src]

Read the Rounding Mode control field

pub fn set_rmode(&mut self, rmode: RMode)[src]

Sets the Rounding Mode control field

pub fn idc(self) -> bool[src]

Read the Input Denormal cumulative exception bit

pub fn set_idc(&mut self, idc: bool)[src]

Sets the Input Denormal cumulative exception bit

pub fn ixc(self) -> bool[src]

Read the Inexact cumulative exception bit

pub fn set_ixc(&mut self, ixc: bool)[src]

Sets the Inexact cumulative exception bit

pub fn ufc(self) -> bool[src]

Read the Underflow cumulative exception bit

pub fn set_ufc(&mut self, ufc: bool)[src]

Sets the Underflow cumulative exception bit

pub fn ofc(self) -> bool[src]

Read the Overflow cumulative exception bit

pub fn set_ofc(&mut self, ofc: bool)[src]

Sets the Overflow cumulative exception bit

pub fn dzc(self) -> bool[src]

Read the Division by Zero cumulative exception bit

pub fn set_dzc(&mut self, dzc: bool)[src]

Sets the Division by Zero cumulative exception bit

pub fn ioc(self) -> bool[src]

Read the Invalid Operation cumulative exception bit

pub fn set_ioc(&mut self, ioc: bool)[src]

Sets the Invalid Operation cumulative exception bit

Trait Implementations

impl Clone for Fpscr[src]

impl Copy for Fpscr[src]

impl Debug for Fpscr[src]

Auto Trait Implementations

impl Send for Fpscr

impl Sync for Fpscr

impl Unpin for Fpscr

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.