[−][src]Struct cc13x2_cc26x2_pac::cpu_scs::stcsr::W
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 reserved17(&mut self) -> _RESERVED17W
[src]
Bits 17:31 - 31:17] 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 countflag(&mut self) -> _COUNTFLAGW
[src]
Bit 16 - 16:16] Returns 1 if timer counted to 0 since last time this was read. Clears on read by application of any part of the SysTick Control and Status Register. If read by the debugger using the DAP, this bit is cleared on read-only if the MasterType bit in the AHB-AP Control Register is set to 0. Otherwise, COUNTFLAG is not changed by the debugger read.
pub fn reserved3(&mut self) -> _RESERVED3W
[src]
Bits 3:15 - 15: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 clksource(&mut self) -> _CLKSOURCEW
[src]
Bit 2 - 2:2] Clock source: 0: External reference clock. 1: Core clock External clock is not available in this device. Writes to this field will be ignored.
pub fn tickint(&mut self) -> _TICKINTW
[src]
Bit 1 - 1:1] 0: Counting down to zero does not pend the SysTick handler. Software can use COUNTFLAG to determine if the SysTick handler has ever counted to zero. 1: Counting down to zero pends the SysTick handler.
pub fn enable(&mut self) -> _ENABLEW
[src]
Bit 0 - 0:0] Enable SysTick counter 0: Counter disabled 1: Counter operates in a multi-shot way. That is, counter loads with the Reload value STRVR.RELOAD and then begins counting down. On reaching 0, it sets COUNTFLAG to 1 and optionally pends the SysTick handler, based on TICKINT. It then loads STRVR.RELOAD again, and begins counting.
Auto Trait Implementations
Blanket Implementations
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> From for T
[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