[−]Struct sunrise_ahci::hba::GHC
HbaMem.GHC "Global HBA Control" register bitfield.
Defined in section 3.1.2
Implementations
impl GHC
fn ae(&self) -> bool
fn set_ae(&mut self, value: bool)
fn mrsm(&self) -> bool
fn ie(&self) -> bool
fn set_ie(&mut self, value: bool)
fn hr(&self) -> bool
fn set_hr(&mut self, value: bool)
Trait Implementations
impl<T> BitRange<T> for GHC where
u32: BitRange<T>,
u32: BitRange<T>,
fn bit_range(&self, msb: usize, lsb: usize) -> T
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
impl Clone for GHC
[src]
impl Copy for GHC
[src]
impl Debug for GHC
Auto Trait Implementations
impl RefUnwindSafe for GHC
impl Send for GHC
impl Sync for GHC
impl Unpin for GHC
impl UnwindSafe for GHC
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Bit for T where
T: BitRange<u8>,
T: BitRange<u8>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SizedIPCBuffer for T
[src]
fn size(&self) -> usize
[src]
fn is_cool(addr: usize, size: usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(addr: usize, _size: usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(addr: usize, _size: usize) -> &'a mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,