[][src]Struct cc13x2_cc26x2_hal::cpu_scs::fpccr::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 aspen(&mut self) -> _ASPENW[src]

Bit 31 - 31:31] Automatic State Preservation enable. When this bit is set is will cause bit [2] of the Special CONTROL register to be set (FPCA) on execution of a floating point instruction which results in the floating point state automatically being preserved on exception entry.

pub fn lspen(&mut self) -> _LSPENW[src]

Bit 30 - 30:30] Lazy State Preservation enable. Lazy state preservation is when the processor performs a context save, space on the stack is reserved for the floating point state but it is not stacked until the new context performs a floating point operation. 0: Disable automatic lazy state preservation for floating-point context. 1: Enable automatic lazy state preservation for floating-point context.

pub fn reserved9(&mut self) -> _RESERVED9W[src]

Bits 9:29 - 29:9] 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 monrdy(&mut self) -> _MONRDYW[src]

Bit 8 - 8:8] Indicates whether the the software executing when the processor allocated the FP stack frame was able to set the DebugMonitor exception to pending. 0: DebugMonitor is disabled or priority did not permit setting DEMCR.MON_PEND when the floating-point stack frame was allocated. 1: DebugMonitor is enabled and priority permits setting DEMCR.MON_PEND when the floating-point stack frame was allocated.

pub fn reserved7(&mut self) -> _RESERVED7W[src]

Bit 7 - 7:7] 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 bfrdy(&mut self) -> _BFRDYW[src]

Bit 6 - 6:6] Indicates whether the software executing when the processor allocated the FP stack frame was able to set the BusFault exception to pending. 0: BusFault is disabled or priority did not permit setting the BusFault handler to the pending state when the floating-point stack frame was allocated. 1: BusFault is enabled and priority permitted setting the BusFault handler to the pending state when the floating-point stack frame was allocated.

pub fn mmrdy(&mut self) -> _MMRDYW[src]

Bit 5 - 5:5] Indicates whether the software executing when the processor allocated the FP stack frame was able to set the MemManage exception to pending. 0: MemManage is disabled or priority did not permit setting the MemManage handler to the pending state when the floating-point stack frame was allocated. 1: MemManage is enabled and priority permitted setting the MemManage handler to the pending state when the floating-point stack frame was allocated.

pub fn hfrdy(&mut self) -> _HFRDYW[src]

Bit 4 - 4:4] Indicates whether the software executing when the processor allocated the FP stack frame was able to set the HardFault exception to pending. 0: Priority did not permit setting the HardFault handler to the pending state when the floating-point stack frame was allocated. 1: Priority permitted setting the HardFault handler to the pending state when the floating-point stack frame was allocated.

pub fn thread(&mut self) -> _THREADW[src]

Bit 3 - 3:3] Indicates the processor mode was Thread when it allocated the FP stack frame. 0: Mode was not Thread Mode when the floating-point stack frame was allocated. 1: Mode was Thread Mode when the floating-point stack frame was allocated.

pub fn reserved2(&mut self) -> _RESERVED2W[src]

Bit 2 - 2:2] 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 user(&mut self) -> _USERW[src]

Bit 1 - 1:1] Indicates the privilege level of the software executing was User (Unpriviledged) when the processor allocated the FP stack frame: 0: Privilege level was not user when the floating-point stack frame was allocated. 1: Privilege level was user when the floating-point stack frame was allocated.

pub fn lspact(&mut self) -> _LSPACTW[src]

Bit 0 - 0:0] Indicates whether Lazy preservation of the FP state is active: 0: Lazy state preservation is not active. 1: Lazy state preservation is active. floating-point stack frame has been allocated but saving state to it has been deferred.

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