[][src]Struct cc13x2_cc26x2_hal::cpu_scs::scr::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 reserved5(&mut self) -> _RESERVED5W[src]

Bits 5:31 - 31:5] 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 sevonpend(&mut self) -> _SEVONPENDW[src]

Bit 4 - 4:4] Send Event on Pending bit: 0: Only enabled interrupts or events can wakeup the processor, disabled interrupts are excluded 1: Enabled events and all interrupts, including disabled interrupts, can wakeup the processor. When an event or interrupt enters pending state, the event signal wakes up the processor from WFE. If the processor is not waiting for an event, the event is registered and affects the next WFE. The processor also wakes up on execution of an SEV instruction.

pub fn reserved3(&mut self) -> _RESERVED3W[src]

Bit 3 - 3:3] 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 sleepdeep(&mut self) -> _SLEEPDEEPW[src]

Bit 2 - 2:2] Controls whether the processor uses sleep or deep sleep as its low power mode

pub fn sleeponexit(&mut self) -> _SLEEPONEXITW[src]

Bit 1 - 1:1] Sleep on exit when returning from Handler mode to Thread mode. Enables interrupt driven applications to avoid returning to empty main application. 0: Do not sleep when returning to thread mode 1: Sleep on ISR exit

pub fn reserved0(&mut self) -> _RESERVED0W[src]

Bit 0 - 0: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, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

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