#[repr(u8)]pub enum Txpol {
STANDARD = 0,
INVERTED = 1,
}Variants§
STANDARD = 0
Standard. The TX signal is sent out without change. This means that the TX rest value is 1, start bit is 0, data is not inverted, and the stop bit is 1.
INVERTED = 1
Inverted. The TX signal is inverted by the USART before being sent out. This means that the TX rest value is 0, start bit is 1, data is inverted, and the stop bit is 0.
Implementations§
Trait Implementations§
Source§impl Ord for Txpol
impl Ord for Txpol
Source§impl PartialOrd for Txpol
impl PartialOrd for Txpol
impl Copy for Txpol
impl Eq for Txpol
impl StructuralPartialEq for Txpol
Auto Trait Implementations§
impl Freeze for Txpol
impl RefUnwindSafe for Txpol
impl Send for Txpol
impl Sync for Txpol
impl Unpin for Txpol
impl UnwindSafe for Txpol
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