pub enum DivMode {
FreeRunning,
High,
Rising,
Falling,
}
Expand description
Fractional clock divider running mode
Each channel can be configured to run in four different ways:
- Free running: The fractional clock divider is always enabled. In this mode, pins A and B are configured as output pins. In other modes, pin B becomes an input pin.
- High: The fractional clock divider is enabled when pin B is high.
- Rising: The fractional clock divider is enabled when a rising-edge is detected on pin B.
- Falling: The fractional clock divider is enabled when a falling-edge is detected on pin B.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DivMode
impl RefUnwindSafe for DivMode
impl Send for DivMode
impl Sync for DivMode
impl Unpin for DivMode
impl UnwindSafe for DivMode
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