[][src]Function ruspiro_register::system::aarch64::esr_el2::read

pub fn read(field: RegisterField<u32>) -> RegisterFieldValue<u32>
This is supported on AArch64 only.

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