pub struct R(_);
Expand description
Register CONFIG
reader
Implementations
sourceimpl R
impl R
sourcepub fn cksel(&self) -> CKSEL_R
pub fn cksel(&self) -> CKSEL_R
Bits 3:6 - SCT clock select. The specific functionality of the designated input/edge is dependent on the CLKMODE bit selection in this register.
sourcepub fn noreload_l(&self) -> NORELOAD_L_R
pub fn noreload_l(&self) -> NORELOAD_L_R
Bit 7 - A 1 in this bit prevents the lower match registers from being reloaded from their respective reload registers. Setting this bit eliminates the need to write to the reload registers MATCHREL if the match values are fixed. Software can write to set or clear this bit at any time. This bit applies to both the higher and lower registers when the UNIFY bit is set.
sourcepub fn noreload_h(&self) -> NORELOAD_H_R
pub fn noreload_h(&self) -> NORELOAD_H_R
Bit 8 - A 1 in this bit prevents the higher match registers from being reloaded from their respective reload registers. Setting this bit eliminates the need to write to the reload registers MATCHREL if the match values are fixed. Software can write to set or clear this bit at any time. This bit is not used when the UNIFY bit is set.
sourcepub fn insync(&self) -> INSYNC_R
pub fn insync(&self) -> INSYNC_R
Bits 9:12 - Synchronization for input N (bit 9 = input 0, bit 10 = input 1,, bit 12 = input 3); all other bits are reserved. A 1 in one of these bits subjects the corresponding input to synchronization to the SCT clock, before it is used to create an event. If an input is known to already be synchronous to the SCT clock, this bit may be set to 0 for faster input response. (Note: The SCT clock is the system clock for CKMODEs 0-2. It is the selected, asynchronous SCT input clock for CKMODE3). Note that the INSYNC field only affects inputs used for event generation. It does not apply to the clock input specified in the CKSEL field.
sourcepub fn autolimit_l(&self) -> AUTOLIMIT_L_R
pub fn autolimit_l(&self) -> AUTOLIMIT_L_R
Bit 17 - A one in this bit causes a match on match register 0 to be treated as a de-facto LIMIT condition without the need to define an associated event. As with any LIMIT event, this automatic limit causes the counter to be cleared to zero in unidirectional mode or to change the direction of count in bi-directional mode. Software can write to set or clear this bit at any time. This bit applies to both the higher and lower registers when the UNIFY bit is set.
sourcepub fn autolimit_h(&self) -> AUTOLIMIT_H_R
pub fn autolimit_h(&self) -> AUTOLIMIT_H_R
Bit 18 - A one in this bit will cause a match on match register 0 to be treated as a de-facto LIMIT condition without the need to define an associated event. As with any LIMIT event, this automatic limit causes the counter to be cleared to zero in unidirectional mode or to change the direction of count in bi-directional mode. Software can write to set or clear this bit at any time. This bit is not used when the UNIFY bit is set.
Methods from Deref<Target = R<CONFIG_SPEC>>
Trait Implementations
sourceimpl From<R<CONFIG_SPEC>> for R
impl From<R<CONFIG_SPEC>> for R
sourcefn from(reader: R<CONFIG_SPEC>) -> Self
fn from(reader: R<CONFIG_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more