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