[−][src]Enum lpc81x_pac::sct::config::CLKMODER
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]
fn eq(&self, other: &CLKMODER) -> bool
[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]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> 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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> 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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> 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<T> for T
type Output = T
Should always be Self