#[repr(transparent)]pub struct Gahbcfg(pub u32);
Expand description
AHB configuration register
Tuple Fields§
§0: u32
Implementations§
Source§impl Gahbcfg
impl Gahbcfg
Sourcepub fn set_hbstlen(&mut self, val: u8)
pub fn set_hbstlen(&mut self, val: u8)
Burst length/type
Sourcepub fn set_txfelvl(&mut self, val: bool)
pub fn set_txfelvl(&mut self, val: bool)
TxFIFO empty level
Sourcepub 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