Enum stm32wlxx_hal::pac::spi1::cr1::BR_A
#[repr(u8)]pub enum BR_A {
Div2 = 0,
Div4 = 1,
Div8 = 2,
Div16 = 3,
Div32 = 4,
Div64 = 5,
Div128 = 6,
Div256 = 7,
}
Available on crate feature
stm32wl5x_cm4
only.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 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