#[repr(transparent)]pub struct BaseAddr0(pub u32);Expand description
Base Address for region 0 register
Tuple Fields§
§0: u32Implementations§
Source§impl BaseAddr0
impl BaseAddr0
Sourcepub const fn addr_fixed(&self) -> u32
pub const fn addr_fixed(&self) -> u32
Fixed portion of the base address of region 0.
Sourcepub const fn set_addr_fixed(&mut self, val: u32)
pub const fn set_addr_fixed(&mut self, val: u32)
Fixed portion of the base address of region 0.
Sourcepub const fn set_addr_prg(&mut self, val: u8)
pub const fn set_addr_prg(&mut self, val: u8)
Programmable portion of the base address of region 0.
Trait Implementations§
impl Copy for BaseAddr0
impl Eq for BaseAddr0
impl StructuralPartialEq for BaseAddr0
Auto Trait Implementations§
impl Freeze for BaseAddr0
impl RefUnwindSafe for BaseAddr0
impl Send for BaseAddr0
impl Sync for BaseAddr0
impl Unpin for BaseAddr0
impl UnwindSafe for BaseAddr0
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