Struct drone_cortexm::map::reg::stk::ctrl::Hold[][src]

pub struct Hold<'a, _T: RegTag> { /* fields omitted */ }

SysTick control and status register.

Implementations

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn countflag(&self) -> bool[src]

Returns true if timer counted to 0 since last time this was read.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_countflag(&mut self) -> &mut Self[src]

Returns true if timer counted to 0 since last time this was read.

pub fn clear_countflag(&mut self) -> &mut Self[src]

Returns true if timer counted to 0 since last time this was read.

pub fn toggle_countflag(&mut self) -> &mut Self[src]

Returns true if timer counted to 0 since last time this was read.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn clksource(&self) -> bool[src]

Clock source selection.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_clksource(&mut self) -> &mut Self[src]

Clock source selection.

pub fn clear_clksource(&mut self) -> &mut Self[src]

Clock source selection.

pub fn toggle_clksource(&mut self) -> &mut Self[src]

Clock source selection.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn tickint(&self) -> bool[src]

SysTick exception request enable.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_tickint(&mut self) -> &mut Self[src]

SysTick exception request enable.

pub fn clear_tickint(&mut self) -> &mut Self[src]

SysTick exception request enable.

pub fn toggle_tickint(&mut self) -> &mut Self[src]

SysTick exception request enable.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn enable(&self) -> bool[src]

Counter enable.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_enable(&mut self) -> &mut Self[src]

Counter enable.

pub fn clear_enable(&mut self) -> &mut Self[src]

Counter enable.

pub fn toggle_enable(&mut self) -> &mut Self[src]

Counter enable.

Trait Implementations

impl<'a, _T> RegHold<'a, _T, Reg<_T>> for Hold<'a, _T> where
    _T: RegTag
[src]

Auto Trait Implementations

impl<'a, _T> Send for Hold<'a, _T>

impl<'a, _T> Sync for Hold<'a, _T>

impl<'a, _T> Unpin for Hold<'a, _T>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.