Trait lpc82x_hal::wkt::Clock[][src]

pub trait Clock {
    fn select<'w>(w: &'w mut W) -> &'w mut W;
}

A clock that is usable by the self-wake-up timer (WKT)

This trait is implemented for all clocks that are supported by the WKT. The user shouldn't need to implement this trait themselves.

Required Methods

Internal method to select the clock as the clock source for the WKT

This is an internal method, to be called by the WKT API. Users generally shouldn't need to call this. This method is exempt from any guarantees of API stability.

Implementors