pub enum ECE {
Disabled = 0,
Enabled = 1,
}
Expand description
External clock enable This bit enables External clock mode 2. Note: Setting the ECE bit has the same effect as selecting external clock mode 1 with TRGI connected to ETRF (SMS=111 and TS=00111). It is possible to simultaneously use external clock mode 2 with the following slave modes: reset mode, gated mode and trigger mode. Nevertheless, TRGI must not be connected to ETRF in this case (TS bits must not be 00111). If external clock mode 1 and external clock mode 2 are enabled at the same time, the external clock input is ETRF.
Value on reset: 0
Variants§
Disabled = 0
0: External clock mode 2 disabled
Enabled = 1
1: External clock mode 2 enabled. The counter is clocked by any active edge on the ETRF signal.
Trait Implementations§
impl Copy for ECE
impl Eq for ECE
impl StructuralPartialEq for ECE
Auto Trait Implementations§
impl Freeze for ECE
impl RefUnwindSafe for ECE
impl Send for ECE
impl Sync for ECE
impl Unpin for ECE
impl UnwindSafe for ECE
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more