#[repr(u8)]pub enum OVS_A {
X16 = 0,
X8 = 1,
X6 = 2,
X4 = 3,
}
Expand description
Oversampling
Value on reset: 0
Variants§
X16 = 0
0: Regular UART mode with 16X oversampling in asynchronous mode
X8 = 1
1: Double speed with 8X oversampling in asynchronous mode
X6 = 2
2: 6X oversampling in asynchronous mode
X4 = 3
3: Quadruple speed with 4X oversampling in asynchronous mode
Trait Implementations§
impl Copy for OVS_A
impl StructuralPartialEq for OVS_A
Auto Trait Implementations§
impl Freeze for OVS_A
impl RefUnwindSafe for OVS_A
impl Send for OVS_A
impl Sync for OVS_A
impl Unpin for OVS_A
impl UnwindSafe for OVS_A
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