Struct stm32_metapac::usart::regs::Cr1
#[repr(transparent)]pub struct Cr1(pub u32);
Expand description
Control register 1
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Cr1
impl Cr1
pub fn set_idleie(&mut self, val: bool)
pub fn set_idleie(&mut self, val: bool)
IDLE interrupt enable
pub fn set_rxneie(&mut self, val: bool)
pub fn set_rxneie(&mut self, val: bool)
RXNE interrupt enable
pub fn set_fifoen(&mut self, val: bool)
pub fn set_fifoen(&mut self, val: bool)
FIFO mode enable
pub fn set_txfeie(&mut self, val: bool)
pub fn set_txfeie(&mut self, val: bool)
TXFIFO empty interrupt enable
pub fn set_rxffie(&mut self, val: bool)
pub fn set_rxffie(&mut self, val: bool)
RXFIFO Full interrupt enable
Trait Implementationsยง
impl Copy for Cr1
impl Eq for Cr1
impl StructuralEq for Cr1
impl StructuralPartialEq for Cr1
Auto Trait Implementationsยง
impl RefUnwindSafe for Cr1
impl Send for Cr1
impl Sync for Cr1
impl Unpin for Cr1
impl UnwindSafe for Cr1
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