unsafe fn write(&self, offset: usize, val: u64) {
        self.address
            .as_mut::<u64>()
            .add(offset / 8)
            .write_volatile(val);
    }
/// Writes to a 64 bit register at `offset`.
///
/// # Safety
///
/// This could cause exceptions if the offset is invalid.
///
Writes to a 64 bit register at `offset`.
Writes to a 64 bit register at ` offset ` .
unsafe fn write(&self, offset: usize, val: u64) {
        self.address
            .as_mut::<u64>()
            .add(offset / 8)
            .write_volatile(val);
    }
unsafe fn write ( & self , offset : usize , val : u64 ) { self . address . as_mut :: < u64 > ( ) . add ( offset / 8 ) . write_volatile ( val ) ; }
Writes to a 64 bit register at `offset`.
Writes to a 64 bit register at ` offset ` .
&self
offset
usize
val
u64
&self
offset
usize
val
u64
safety
This could cause exceptions if the offset is invalid.
This could cause exceptions if the offset is invalid .