#[repr(u8)]pub enum RtsMode {
Inactive = 0,
Active = 1,
FlowControl = 2,
TxActive = 3,
}Expand description
RTS output mode (AN571 Table 11, SERIAL_RTS_MASK).
Variants§
Inactive = 0
RTS statically inactive.
Active = 1
RTS statically active.
FlowControl = 2
RTS used for receive flow control.
TxActive = 3
RTS acts as a transmit-active signal.
Trait Implementations§
impl Copy for RtsMode
impl Eq for RtsMode
impl StructuralPartialEq for RtsMode
Auto Trait Implementations§
impl Freeze for RtsMode
impl RefUnwindSafe for RtsMode
impl Send for RtsMode
impl Sync for RtsMode
impl Unpin for RtsMode
impl UnwindSafe for RtsMode
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