#[repr(transparent)]pub struct Ahbcr(pub u32);Expand description
AHB Bus Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Ahbcr
impl Ahbcr
Sourcepub const fn set_aparen(&mut self, val: Aparen)
pub const fn set_aparen(&mut self, val: Aparen)
AHB Parallel Mode Enable.
Sourcepub const fn clrahbrxbuf(&self) -> Clrahbrxbuf
pub const fn clrahbrxbuf(&self) -> Clrahbrxbuf
Clear AHB Receive Buffer.
Sourcepub const fn set_clrahbrxbuf(&mut self, val: Clrahbrxbuf)
pub const fn set_clrahbrxbuf(&mut self, val: Clrahbrxbuf)
Clear AHB Receive Buffer.
Sourcepub const fn clrahbtxbuf(&self) -> Clrahbtxbuf
pub const fn clrahbtxbuf(&self) -> Clrahbtxbuf
Clear AHB Transmit Buffer.
Sourcepub const fn set_clrahbtxbuf(&mut self, val: Clrahbtxbuf)
pub const fn set_clrahbtxbuf(&mut self, val: Clrahbtxbuf)
Clear AHB Transmit Buffer.
Sourcepub const fn cachableen(&self) -> Cachableen
pub const fn cachableen(&self) -> Cachableen
Cacheable Read Access Enable.
Sourcepub const fn set_cachableen(&mut self, val: Cachableen)
pub const fn set_cachableen(&mut self, val: Cachableen)
Cacheable Read Access Enable.
Sourcepub const fn bufferableen(&self) -> Bufferableen
pub const fn bufferableen(&self) -> Bufferableen
Bufferable Write Access Enable.
Sourcepub const fn set_bufferableen(&mut self, val: Bufferableen)
pub const fn set_bufferableen(&mut self, val: Bufferableen)
Bufferable Write Access Enable.
Sourcepub const fn prefetchen(&self) -> AhbcrPrefetchen
pub const fn prefetchen(&self) -> AhbcrPrefetchen
AHB Read Prefetch Enable.
Sourcepub const fn set_prefetchen(&mut self, val: AhbcrPrefetchen)
pub const fn set_prefetchen(&mut self, val: AhbcrPrefetchen)
AHB Read Prefetch Enable.
Sourcepub const fn readaddropt(&self) -> Readaddropt
pub const fn readaddropt(&self) -> Readaddropt
AHB Read Address Option.
Sourcepub const fn set_readaddropt(&mut self, val: Readaddropt)
pub const fn set_readaddropt(&mut self, val: Readaddropt)
AHB Read Address Option.
Sourcepub const fn resumedisable(&self) -> Resumedisable
pub const fn resumedisable(&self) -> Resumedisable
AHB Read Resume Disable.
Sourcepub const fn set_resumedisable(&mut self, val: Resumedisable)
pub const fn set_resumedisable(&mut self, val: Resumedisable)
AHB Read Resume Disable.
Sourcepub const fn readszalign(&self) -> Readszalign
pub const fn readszalign(&self) -> Readszalign
AHB Read Size Alignment.
Sourcepub const fn set_readszalign(&mut self, val: Readszalign)
pub const fn set_readszalign(&mut self, val: Readszalign)
AHB Read Size Alignment.
Sourcepub const fn set_alignment(&mut self, val: Alignment)
pub const fn set_alignment(&mut self, val: Alignment)
AHB Boundary Alignment.
Sourcepub const fn aflashbase(&self) -> u8
pub const fn aflashbase(&self) -> u8
AHB Memory-Mapped Flash Base Address.
Sourcepub const fn set_aflashbase(&mut self, val: u8)
pub const fn set_aflashbase(&mut self, val: u8)
AHB Memory-Mapped Flash Base Address.
Trait Implementations§
impl Copy for Ahbcr
impl Eq for Ahbcr
impl StructuralPartialEq for Ahbcr
Auto Trait Implementations§
impl Freeze for Ahbcr
impl RefUnwindSafe for Ahbcr
impl Send for Ahbcr
impl Sync for Ahbcr
impl Unpin for Ahbcr
impl UnwindSafe for Ahbcr
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