#[repr(u8)]pub enum Cfg {
CNT_CHAR = 0,
CNT_IDLE = 1,
CNT_BUSY_IDLE = 2,
CNT_CHAR_IDLE = 3,
}Variants§
CNT_CHAR = 0
Becomes 1 after timeout characters are received
CNT_IDLE = 1
Becomes 1 when idle for timeout bit clocks
CNT_BUSY_IDLE = 2
Becomes 1 when idle for timeout bit clocks following the next character
CNT_CHAR_IDLE = 3
Becomes 1 when idle for at least timeout bit clocks, but a new character is detected before the extended idle timeout is reached
Implementations§
Trait Implementations§
Source§impl Ord for Cfg
impl Ord for Cfg
Source§impl PartialOrd for Cfg
impl PartialOrd for Cfg
impl Copy for Cfg
impl Eq for Cfg
impl StructuralPartialEq for Cfg
Auto Trait Implementations§
impl Freeze for Cfg
impl RefUnwindSafe for Cfg
impl Send for Cfg
impl Sync for Cfg
impl Unpin for Cfg
impl UnwindSafe for Cfg
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