[][src]Function ruspiro_arch_aarch64::register::el0::ctr_el0::read

pub fn read(field: RegisterField<u64>) -> RegisterFieldValue<u64>

Read the contents of a specific RegisterField. The returned value is already shifted to the right to start at bit 0. This means for a field value stored in the register at bit offset 3, the returned value is already shifted by 3 bits to the right. For example: If register raw value is 0b10110, the returned value for a register field specified as bits[4:3] would be 0b01. No further "masking" or "bit-shift" required