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