Struct stm32_metapac::otg::regs::Gahbcfg
#[repr(transparent)]pub struct Gahbcfg(pub u32);
Expand description
AHB configuration register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Gahbcfg
impl Gahbcfg
pub fn set_hbstlen(&mut self, val: u8)
pub fn set_hbstlen(&mut self, val: u8)
Burst length/type
pub fn set_txfelvl(&mut self, val: bool)
pub fn set_txfelvl(&mut self, val: bool)
TxFIFO empty level
pub fn set_ptxfelvl(&mut self, val: bool)
pub fn set_ptxfelvl(&mut self, val: bool)
Periodic TxFIFO empty level
Trait Implementationsยง
ยงimpl PartialEq for Gahbcfg
impl PartialEq for Gahbcfg
impl Copy for Gahbcfg
impl Eq for Gahbcfg
impl StructuralEq for Gahbcfg
impl StructuralPartialEq for Gahbcfg
Auto Trait Implementationsยง
impl RefUnwindSafe for Gahbcfg
impl Send for Gahbcfg
impl Sync for Gahbcfg
impl Unpin for Gahbcfg
impl UnwindSafe for Gahbcfg
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