Struct cortex_m::register::fpscr::Fpscr

source ·
pub struct Fpscr { /* private fields */ }
Expand description

Floating-point Status Control Register

Implementations§

Creates a Fspcr value from raw bits.

Returns the contents of the register as raw bits

Read the Negative condition code flag

Sets the Negative condition code flag

Read the Zero condition code flag

Sets the Zero condition code flag

Read the Carry condition code flag

Sets the Carry condition code flag

Read the Overflow condition code flag

Sets the Zero condition code flag

Read the Alternative Half Precision bit

Sets the Alternative Half Precision bit

Read the Default NaN mode bit

Sets the Default NaN mode bit

Read the Flush to Zero mode bit

Sets the Flush to Zero mode bit

Read the Rounding Mode control field

Sets the Rounding Mode control field

Read the Input Denormal cumulative exception bit

Sets the Input Denormal cumulative exception bit

Read the Inexact cumulative exception bit

Sets the Inexact cumulative exception bit

Read the Underflow cumulative exception bit

Sets the Underflow cumulative exception bit

Read the Overflow cumulative exception bit

Sets the Overflow cumulative exception bit

Read the Division by Zero cumulative exception bit

Sets the Division by Zero cumulative exception bit

Read the Invalid Operation cumulative exception bit

Sets the Invalid Operation cumulative exception bit

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.