Trait ral::Register[][src]

pub trait Register {
    type RegisterType: Register;
    type ValueType: Copy + Not<Output = Self::ValueType> + BitAnd<Output = Self::ValueType> + BitOr<Output = Self::ValueType>;

    const RESET_MASK: Self::ValueType;
    const RESET_VALUE: Self::ValueType;
}

Trait representing register, actual registers are to implement this

Associated Types

type RegisterType: Register[src]

Actual register type for operations chaining

type ValueType: Copy + Not<Output = Self::ValueType> + BitAnd<Output = Self::ValueType> + BitOr<Output = Self::ValueType>[src]

Value type, expected to be one of u8, u16, u32 or u64

Loading content...

Associated Constants

const RESET_MASK: Self::ValueType[src]

Reset mask

const RESET_VALUE: Self::ValueType[src]

Reset value

Loading content...

Implementors

Loading content...