[−][src]Struct cc13x2_cc26x2_hal::cpu_scs::fpdscr::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn reserved27(&self) -> RESERVED27R
[src]
Bits 27:31 - 31:27] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.
pub fn ahp(&self) -> AHPR
[src]
Bit 26 - 26:26] Default value for Alternative Half Precision bit. (If this bit is set to 1 then Alternative half-precision format is selected).
pub fn dn(&self) -> DNR
[src]
Bit 25 - 25:25] Default value for Default NaN mode bit. (If this bit is set to 1 then any operation involving one or more NaNs returns the Default NaN).
pub fn fz(&self) -> FZR
[src]
Bit 24 - 24:24] Default value for Flush-to-Zero mode bit. (If this bit is set to 1 then Flush-to-zero mode is enabled).
pub fn rmode(&self) -> RMODER
[src]
Bits 22:23 - 23:22] Default value for Rounding Mode control field. (The encoding for this field is: 0b00 Round to Nearest (RN) mode 0b01 Round towards Plus Infinity (RP) mode 0b10 Round towards Minus Infinity (RM) mode 0b11 Round towards Zero (RZ) mode. The specified rounding mode is used by almost all floating-point instructions).
pub fn reserved0(&self) -> RESERVED0R
[src]
Bits 0:21 - 21:0] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom 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 for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self