[−][src]Enum lpc55s6x_pac::sct0::config::CLKMODER
Possible values of the field CLKMODE
Variants
SYSTEM_CLOCK_MODE
System Clock Mode. The system clock clocks the entire SCT module including the counter(s) and counter prescalers.
SAMPLED_SYSTEM_CLOCK_MODE
Sampled System Clock Mode. The system clock clocks the SCT module, but the counter and prescalers are only enabled to count when the designated edge is detected on the input selected by the CKSEL field. The minimum pulse width on the selected clock-gate input is 1 bus clock period. This mode is the high-performance, sampled-clock mode.
SCT_INPUT_CLOCK_MODE
SCT Input Clock Mode. The input/edge selected by the CKSEL field clocks the SCT module, including the counters and prescalers, after first being synchronized to the system clock. The minimum pulse width on the clock input is 1 bus clock period. This mode is the low-power, sampled-clock mode.
ASYNCHRONOUS_MODE
Asynchronous Mode. The entire SCT module is clocked directly by the input/edge selected by the CKSEL field. In this mode, the SCT outputs are switched synchronously to the SCT input clock - not the system clock. The input clock rate must be at least half the system clock rate and can be the same or faster than the system clock.
Methods
impl CLKMODER
[src][−]
pub fn bits(&self) -> u8
[src][−]
Value of the field as raw bits
pub fn is_system_clock_mode(&self) -> bool
[src][−]
Checks if the value of the field is SYSTEM_CLOCK_MODE
pub fn is_sampled_system_clock_mode(&self) -> bool
[src][−]
Checks if the value of the field is SAMPLED_SYSTEM_CLOCK_MODE
pub fn is_sct_input_clock_mode(&self) -> bool
[src][−]
Checks if the value of the field is SCT_INPUT_CLOCK_MODE
pub fn is_asynchronous_mode(&self) -> bool
[src][−]
Checks if the value of the field is ASYNCHRONOUS_MODE
Trait Implementations
impl PartialEq<CLKMODER> for CLKMODER
[src][+]
impl Copy for CLKMODER
[src]
impl Debug for CLKMODER
[src][+]
impl Clone for CLKMODER
[src][+]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self