Struct Ar
#[repr(transparent)]pub struct Ar(pub u32);
Expand description
address register
Tuple Fields§
§0: u32
Implementations§
§impl Ar
impl Ar
pub const fn address(&self) -> u32
pub const fn address(&self) -> u32
Address to be sent to the external device. In HyperBus protocol, this field must be even as this protocol is 16-bit word oriented. In dual-memory configuration, AR[0] is forced to 1. Writes to. this field are ignored when BUSY = 1 or when FMODE = 11 (Memory-mapped mode).
pub fn set_address(&mut self, val: u32)
pub fn set_address(&mut self, val: u32)
Address to be sent to the external device. In HyperBus protocol, this field must be even as this protocol is 16-bit word oriented. In dual-memory configuration, AR[0] is forced to 1. Writes to. this field are ignored when BUSY = 1 or when FMODE = 11 (Memory-mapped mode).
Trait Implementations§
impl Copy for Ar
impl Eq for Ar
impl StructuralPartialEq for Ar
Auto Trait Implementations§
impl Freeze for Ar
impl RefUnwindSafe for Ar
impl Send for Ar
impl Sync for Ar
impl Unpin for Ar
impl UnwindSafe for Ar
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
)