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