Struct lpc82x_hal::syscon::IrcDerivedClock[][src]

pub struct IrcDerivedClock<State: InitState = Enabled> { /* fields omitted */ }

The 750 kHz IRC-derived clock

This is one of the clocks that can be used to run the self-wake-up timer (WKT). See user manual, section 18.5.1.

Methods

impl IrcDerivedClock<Disabled>
[src]

Enable the IRC-derived clock

This method is only available, if IrcDerivedClock is in the Disabled state. Code that attempts to call this method when the clock is already enabled will not compile.

Consumes this instance of IrcDerivedClock and returns another instance that has its State type parameter set to Enabled. That new instance implements clock::Enabled, which might be required by APIs that need an enabled clock.

Also consumes the handles to IRC and IRCOUT, to make it impossible (outside of unsafe code) to break API guarantees.

Trait Implementations

impl<State> Frequency for IrcDerivedClock<State> where
    State: InitState
[src]

The frequency of the clock in Hz Read more

impl Enabled for IrcDerivedClock<Enabled>
[src]

impl<State> Clock for IrcDerivedClock<State> where
    State: InitState
[src]

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

Auto Trait Implementations

impl<State> Send for IrcDerivedClock<State> where
    State: Send

impl<State> Sync for IrcDerivedClock<State> where
    State: Sync