#[repr(u8)]pub enum BR_A {
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_A
impl StructuralPartialEq for BR_A
Auto Trait Implementations§
impl Freeze for BR_A
impl RefUnwindSafe for BR_A
impl Send for BR_A
impl Sync for BR_A
impl Unpin for BR_A
impl UnwindSafe for BR_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