[][src]Trait cortex_a::regs::RegisterReadOnly

pub trait RegisterReadOnly<T, R> where
    T: IntLike,
    R: RegisterLongName, 
{ pub fn get(&self) -> T; pub fn read(&self, field: Field<T, R>) -> T { ... }
pub fn read_as_enum<E>(&self, field: Field<T, R>) -> Option<E>
    where
        E: TryFromValue<T, EnumType = E>
, { ... }
pub fn extract(&self) -> LocalRegisterCopy<T, R> { ... }
pub fn is_set(&self, field: Field<T, R>) -> bool { ... }
pub fn matches_any(&self, field: FieldValue<T, R>) -> bool { ... }
pub fn matches_all(&self, field: FieldValue<T, R>) -> bool { ... } }

Trait for register RO functions.

Required methods

pub fn get(&self) -> T[src]

Implement this as #[inline].

Loading content...

Provided methods

pub fn read(&self, field: Field<T, R>) -> T[src]

pub fn read_as_enum<E>(&self, field: Field<T, R>) -> Option<E> where
    E: TryFromValue<T, EnumType = E>, 
[src]

pub fn extract(&self) -> LocalRegisterCopy<T, R>[src]

pub fn is_set(&self, field: Field<T, R>) -> bool[src]

pub fn matches_any(&self, field: FieldValue<T, R>) -> bool[src]

pub fn matches_all(&self, field: FieldValue<T, R>) -> bool[src]

Loading content...

Implementors

Loading content...