[][src]Struct cc13x2_cc26x2_hal::cpu_scs::fpdscr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn reserved27(&mut self) -> _RESERVED27W[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(&mut self) -> _AHPW[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(&mut self) -> _DNW[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(&mut self) -> _FZW[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(&mut self) -> _RMODEW[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(&mut self) -> _RESERVED0W[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

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self