#[repr(transparent)]pub struct GdetCtrl(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl GdetCtrl
impl GdetCtrl
Sourcepub const fn gdet_evtcnt_clr(&self) -> bool
pub const fn gdet_evtcnt_clr(&self) -> bool
Controls the GDET clean event counter. Raw bit values: false (0) = Disable: Event counter not cleared.; true (1) = Enable: Clears event counter.
Sourcepub const fn set_gdet_evtcnt_clr(&mut self, val: bool)
pub const fn set_gdet_evtcnt_clr(&mut self, val: bool)
Controls the GDET clean event counter. Raw bit values: false (0) = Disable: Event counter not cleared.; true (1) = Enable: Clears event counter.
Sourcepub const fn gdet_err_clr(&self) -> bool
pub const fn gdet_err_clr(&self) -> bool
Clears GDET error status. Raw bit values: false (0) = Disable: Error status not cleared.; true (1) = Enable: Clears error status.
Sourcepub const fn set_gdet_err_clr(&mut self, val: bool)
pub const fn set_gdet_err_clr(&mut self, val: bool)
Clears GDET error status. Raw bit values: false (0) = Disable: Error status not cleared.; true (1) = Enable: Clears error status.
Sourcepub const fn gdet_iso_sw(&self) -> GdetCtrlGdetIsoSw
pub const fn gdet_iso_sw(&self) -> GdetCtrlGdetIsoSw
GDET isolation control.
Sourcepub const fn set_gdet_iso_sw(&mut self, val: GdetCtrlGdetIsoSw)
pub const fn set_gdet_iso_sw(&mut self, val: GdetCtrlGdetIsoSw)
GDET isolation control.
Sourcepub const fn set_event_cnt(&mut self, val: u8)
pub const fn set_event_cnt(&mut self, val: u8)
Event count value.
Sourcepub const fn pos_sync(&self) -> bool
pub const fn pos_sync(&self) -> bool
Positive glitch detected. Raw bit values: false (0) = Disable: Positive glitch not detected.; true (1) = Enable: Positive glitch detected.
Sourcepub const fn set_pos_sync(&mut self, val: bool)
pub const fn set_pos_sync(&mut self, val: bool)
Positive glitch detected. Raw bit values: false (0) = Disable: Positive glitch not detected.; true (1) = Enable: Positive glitch detected.
Sourcepub const fn neg_sync(&self) -> bool
pub const fn neg_sync(&self) -> bool
Negative glitch detected. Raw bit values: false (0) = Disable: Negative glitch not detected.; true (1) = Enable: Negative glitch detected.
Sourcepub const fn set_neg_sync(&mut self, val: bool)
pub const fn set_neg_sync(&mut self, val: bool)
Negative glitch detected. Raw bit values: false (0) = Disable: Negative glitch not detected.; true (1) = Enable: Negative glitch detected.
Sourcepub const fn event_clr_flag(&self) -> bool
pub const fn event_clr_flag(&self) -> bool
Event counter cleared. Raw bit values: false (0) = Disable: Event counter not cleared.; true (1) = Enable: Event counter cleared.
Sourcepub const fn set_event_clr_flag(&mut self, val: bool)
pub const fn set_event_clr_flag(&mut self, val: bool)
Event counter cleared. Raw bit values: false (0) = Disable: Event counter not cleared.; true (1) = Enable: Event counter cleared.