#[repr(u8)]pub enum BR {
Div2 = 0,
Div4 = 1,
Div8 = 2,
Div16 = 3,
Div32 = 4,
Div64 = 5,
Div128 = 6,
Div256 = 7,
}
Expand description
Baud rate control
Value on reset: 0
Variants§
Div2 = 0
0: f_PCLK / 2
Div4 = 1
1: f_PCLK / 4
Div8 = 2
2: f_PCLK / 8
Div16 = 3
3: f_PCLK / 16
Div32 = 4
4: f_PCLK / 32
Div64 = 5
5: f_PCLK / 64
Div128 = 6
6: f_PCLK / 128
Div256 = 7
7: f_PCLK / 256
Trait Implementations§
impl Copy for BR
impl Eq for BR
impl IsEnum for BR
impl StructuralPartialEq for BR
Auto Trait Implementations§
impl Freeze for BR
impl RefUnwindSafe for BR
impl Send for BR
impl Sync for BR
impl Unpin for BR
impl UnwindSafe for BR
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