[][src]Enum lpc81x_pac::sct::config::CLKMODER

pub enum CLKMODER {
    THE_BUS_CLOCK_CLOCKS,
    THE_SCT_CLOCK_IS_THE,
    THE_INPUT_SELECTED_B,
    RESERVED_,
}

Possible values of the field CLKMODE

Variants

THE_BUS_CLOCK_CLOCKS

The bus clock clocks the SCT and prescalers.

THE_SCT_CLOCK_IS_THE

The SCT clock is the bus clock, but the prescalers are enabled to count only when sampling of the input selected by the CKSEL field finds the selected edge. The minimum pulse width on the clock input is 1 bus clock period. This mode is the high-performance sampled-clock mode.

THE_INPUT_SELECTED_B

The input selected by CKSEL clocks the SCT and prescalers. The input is synchronized to the bus clock and possibly inverted. The minimum pulse width on the clock input is 1 bus clock period. This mode is the low-power sampled-clock mode.

RESERVED_

Reserved.

Methods

impl CLKMODER[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

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

Checks if the value of the field is THE_BUS_CLOCK_CLOCKS

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

Checks if the value of the field is THE_SCT_CLOCK_IS_THE

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

Checks if the value of the field is THE_INPUT_SELECTED_B

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

Checks if the value of the field is RESERVED_

Trait Implementations

impl PartialEq<CLKMODER> for CLKMODER[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Debug for CLKMODER[src]

impl Copy for CLKMODER[src]

impl Clone for CLKMODER[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for CLKMODER

impl Sync for CLKMODER

Blanket Implementations

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

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self