#[repr(transparent)]pub struct IntStatus(pub u32);Expand description
Interrupt Status Register.
Tuple Fields§
§0: u32Implementations§
Source§impl IntStatus
impl IntStatus
Sourcepub const fn hw_err(&self) -> bool
pub const fn hw_err(&self) -> bool
Read: TRNG Error. Any error in the TRNG will trigger this interrupt. Raw bit values: false (0) = HwErrNo: No error.; true (1) = HwErrYes: Error detected.
Sourcepub const fn set_hw_err(&mut self, val: bool)
pub const fn set_hw_err(&mut self, val: bool)
Read: TRNG Error. Any error in the TRNG will trigger this interrupt. Raw bit values: false (0) = HwErrNo: No error.; true (1) = HwErrYes: Error detected.
Sourcepub const fn ent_val(&self) -> bool
pub const fn ent_val(&self) -> bool
Entropy Valid. Raw bit values: false (0) = EntValInvalid: Busy generating entropy. Any value read from the Entropy registers is invalid.; true (1) = EntValValid: Values read from the Entropy registers are valid.
Sourcepub const fn set_ent_val(&mut self, val: bool)
pub const fn set_ent_val(&mut self, val: bool)
Entropy Valid. Raw bit values: false (0) = EntValInvalid: Busy generating entropy. Any value read from the Entropy registers is invalid.; true (1) = EntValValid: Values read from the Entropy registers are valid.
Sourcepub const fn frq_ct_fail(&self) -> bool
pub const fn frq_ct_fail(&self) -> bool
Frequency Count Fail. Raw bit values: false (0) = FrqCtFailNoErr: No hardware nor self test frequency errors.; true (1) = FrqCtFailErr: The frequency counter has detected a failure.
Sourcepub const fn set_frq_ct_fail(&mut self, val: bool)
pub const fn set_frq_ct_fail(&mut self, val: bool)
Frequency Count Fail. Raw bit values: false (0) = FrqCtFailNoErr: No hardware nor self test frequency errors.; true (1) = FrqCtFailErr: The frequency counter has detected a failure.
Sourcepub const fn intg_flt(&self) -> bool
pub const fn intg_flt(&self) -> bool
Integrity Fault. An internal fault has occurred. Raw bit values: false (0) = IntgFltNoErr: No internal fault has been detected.; true (1) = IntgFltErr: TRNG has detected internal fault.
Sourcepub const fn set_intg_flt(&mut self, val: bool)
pub const fn set_intg_flt(&mut self, val: bool)
Integrity Fault. An internal fault has occurred. Raw bit values: false (0) = IntgFltNoErr: No internal fault has been detected.; true (1) = IntgFltErr: TRNG has detected internal fault.