#[repr(u8)]
pub enum BR_A {
DIV2,
DIV4,
DIV8,
DIV16,
DIV32,
DIV64,
DIV128,
DIV256,
}
Expand description
Baud rate control
Value on reset: 0
Variants
DIV2
0: f_PCLK / 2
DIV4
1: f_PCLK / 4
DIV8
2: f_PCLK / 8
DIV16
3: f_PCLK / 16
DIV32
4: f_PCLK / 32
DIV64
5: f_PCLK / 64
DIV128
6: f_PCLK / 128
DIV256
7: f_PCLK / 256
Trait Implementations
impl Copy for BR_A
impl StructuralPartialEq for BR_A
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more