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 Copy for Gahbcfg
impl Eq for Gahbcfg
impl StructuralPartialEq for Gahbcfg
Auto Trait Implementations§
impl Freeze for Gahbcfg
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)