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

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

Trait for register RO functions.

Required methods

fn get(&self) -> T

Implement this as #[inline].

Loading content...

Provided methods

fn read(&self, field: Field<T, R>) -> T

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

fn extract(&self) -> LocalRegisterCopy<T, R>

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

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

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

Loading content...

Implementors

Loading content...