Struct tock_registers::fields::Field [−][src]
pub struct Field<T: UIntLike, R: RegisterLongName> { pub mask: T, pub shift: usize, // some fields omitted }
Expand description
Specific section of a register.
For the Field, the mask is unshifted, ie. the LSB should always be set.
Fields
mask: T
shift: usize
Implementations
Read value of the field as an enum member