Struct Brr
#[repr(transparent)]pub struct Brr(pub u32);
Expand description
Baud rate register.
Tuple Fields§
§0: u32
Implementations§
§impl Brr
impl Brr
pub const fn div_fraction(&self) -> u8
pub const fn div_fraction(&self) -> u8
fraction of USARTDIV.
pub fn set_div_fraction(&mut self, val: u8)
pub fn set_div_fraction(&mut self, val: u8)
fraction of USARTDIV.
pub const fn div_mantissa(&self) -> u16
pub const fn div_mantissa(&self) -> u16
mantissa of USARTDIV.
pub fn set_div_mantissa(&mut self, val: u16)
pub fn set_div_mantissa(&mut self, val: u16)
mantissa of USARTDIV.
Trait Implementations§
impl Copy for Brr
impl Eq for Brr
impl StructuralPartialEq for Brr
Auto Trait Implementations§
impl Freeze for Brr
impl RefUnwindSafe for Brr
impl Send for Brr
impl Sync for Brr
impl Unpin for Brr
impl UnwindSafe for Brr
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