#[repr(transparent)]pub struct Gahbcfg(pub u32);Expand description
AHB Configuration Register
Tuple Fields§
§0: u32Implementations§
Source§impl Gahbcfg
impl Gahbcfg
Sourcepub const fn glblintrmsk(&self) -> Glblintrmsk
pub const fn glblintrmsk(&self) -> Glblintrmsk
Mode: Host and device. Global Interrupt Mask (GlblIntrMsk)
Sourcepub const fn set_glblintrmsk(&mut self, val: Glblintrmsk)
pub const fn set_glblintrmsk(&mut self, val: Glblintrmsk)
Mode: Host and device. Global Interrupt Mask (GlblIntrMsk)
Sourcepub const fn set_hbstlen(&mut self, val: Hbstlen)
pub const fn set_hbstlen(&mut self, val: Hbstlen)
Mode: Host and device. Burst Length/Type (HBstLen)
Sourcepub const fn nptxfemplvl(&self) -> Nptxfemplvl
pub const fn nptxfemplvl(&self) -> Nptxfemplvl
Mode: Host and device. Non-Periodic TxFIFO Empty Level (NPTxFEmpLvl)
Sourcepub const fn set_nptxfemplvl(&mut self, val: Nptxfemplvl)
pub const fn set_nptxfemplvl(&mut self, val: Nptxfemplvl)
Mode: Host and device. Non-Periodic TxFIFO Empty Level (NPTxFEmpLvl)
Sourcepub const fn remmemsupp(&self) -> bool
pub const fn remmemsupp(&self) -> bool
Mode: Host and Device. Remote Memory Support (RemMemSupp)
Sourcepub const fn set_remmemsupp(&mut self, val: bool)
pub const fn set_remmemsupp(&mut self, val: bool)
Mode: Host and Device. Remote Memory Support (RemMemSupp)
Sourcepub const fn notialldmawrit(&self) -> Notialldmawrit
pub const fn notialldmawrit(&self) -> Notialldmawrit
Mode: Host and Device. Notify All DMA Write Transactions (NotiAllDmaWrit)
Sourcepub const fn set_notialldmawrit(&mut self, val: Notialldmawrit)
pub const fn set_notialldmawrit(&mut self, val: Notialldmawrit)
Mode: Host and Device. Notify All DMA Write Transactions (NotiAllDmaWrit)
Sourcepub const fn ahbsingle(&self) -> Ahbsingle
pub const fn ahbsingle(&self) -> Ahbsingle
Mode: Host and Device. AHB Single Support (AHBSingle)
Sourcepub const fn set_ahbsingle(&mut self, val: Ahbsingle)
pub const fn set_ahbsingle(&mut self, val: Ahbsingle)
Mode: Host and Device. AHB Single Support (AHBSingle)
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)