#[repr(transparent)]pub struct Reg0(pub u32);Expand description
DCDC Register 0
Tuple Fields§
§0: u32Implementations§
Source§impl Reg0
impl Reg0
Sourcepub const fn set_pwd_zcd(&mut self, val: PwdZcd)
pub const fn set_pwd_zcd(&mut self, val: PwdZcd)
Power Down Zero Cross Detection
Sourcepub const fn disable_auto_clk_switch(&self) -> DisableAutoClkSwitch
pub const fn disable_auto_clk_switch(&self) -> DisableAutoClkSwitch
Disable Auto Clock Switch
Sourcepub const fn set_disable_auto_clk_switch(&mut self, val: DisableAutoClkSwitch)
pub const fn set_disable_auto_clk_switch(&mut self, val: DisableAutoClkSwitch)
Disable Auto Clock Switch
Sourcepub const fn set_sel_clk(&mut self, val: SelClk)
pub const fn set_sel_clk(&mut self, val: SelClk)
Select Clock
Sourcepub const fn pwd_osc_int(&self) -> PwdOscInt
pub const fn pwd_osc_int(&self) -> PwdOscInt
Power down internal osc
Sourcepub const fn set_pwd_osc_int(&mut self, val: PwdOscInt)
pub const fn set_pwd_osc_int(&mut self, val: PwdOscInt)
Power down internal osc
Sourcepub const fn pwd_cur_sns_cmp(&self) -> PwdCurSnsCmp
pub const fn pwd_cur_sns_cmp(&self) -> PwdCurSnsCmp
Power down signal of the current detector.
Sourcepub const fn set_pwd_cur_sns_cmp(&mut self, val: PwdCurSnsCmp)
pub const fn set_pwd_cur_sns_cmp(&mut self, val: PwdCurSnsCmp)
Power down signal of the current detector.
Sourcepub const fn cur_sns_thrsh(&self) -> CurSnsThrsh
pub const fn cur_sns_thrsh(&self) -> CurSnsThrsh
Current Sense (detector) Threshold
Sourcepub const fn set_cur_sns_thrsh(&mut self, val: CurSnsThrsh)
pub const fn set_cur_sns_thrsh(&mut self, val: CurSnsThrsh)
Current Sense (detector) Threshold
Sourcepub const fn pwd_overcur_det(&self) -> PwdOvercurDet
pub const fn pwd_overcur_det(&self) -> PwdOvercurDet
Power down overcurrent detection comparator
Sourcepub const fn set_pwd_overcur_det(&mut self, val: PwdOvercurDet)
pub const fn set_pwd_overcur_det(&mut self, val: PwdOvercurDet)
Power down overcurrent detection comparator
Sourcepub const fn overcur_trig_adj(&self) -> OvercurTrigAdj
pub const fn overcur_trig_adj(&self) -> OvercurTrigAdj
Overcurrent Trigger Adjust
Sourcepub const fn set_overcur_trig_adj(&mut self, val: OvercurTrigAdj)
pub const fn set_overcur_trig_adj(&mut self, val: OvercurTrigAdj)
Overcurrent Trigger Adjust
Sourcepub const fn pwd_cmp_batt_det(&self) -> PwdCmpBattDet
pub const fn pwd_cmp_batt_det(&self) -> PwdCmpBattDet
Power Down Battery Detection Comparator
Sourcepub const fn set_pwd_cmp_batt_det(&mut self, val: PwdCmpBattDet)
pub const fn set_pwd_cmp_batt_det(&mut self, val: PwdCmpBattDet)
Power Down Battery Detection Comparator
Sourcepub const fn en_lp_overload_sns(&self) -> bool
pub const fn en_lp_overload_sns(&self) -> bool
Low Power Overload Sense Enable
Sourcepub const fn set_en_lp_overload_sns(&mut self, val: bool)
pub const fn set_en_lp_overload_sns(&mut self, val: bool)
Low Power Overload Sense Enable
Sourcepub const fn pwd_high_volt_det(&self) -> PwdHighVoltDet
pub const fn pwd_high_volt_det(&self) -> PwdHighVoltDet
Power Down High Voltage Detection
Sourcepub const fn set_pwd_high_volt_det(&mut self, val: PwdHighVoltDet)
pub const fn set_pwd_high_volt_det(&mut self, val: PwdHighVoltDet)
Power Down High Voltage Detection
Sourcepub const fn lp_overload_thrsh(&self) -> LpOverloadThrsh
pub const fn lp_overload_thrsh(&self) -> LpOverloadThrsh
Low Power Overload Threshold
Sourcepub const fn set_lp_overload_thrsh(&mut self, val: LpOverloadThrsh)
pub const fn set_lp_overload_thrsh(&mut self, val: LpOverloadThrsh)
Low Power Overload Threshold
Sourcepub const fn lp_overload_freq_sel(&self) -> LpOverloadFreqSel
pub const fn lp_overload_freq_sel(&self) -> LpOverloadFreqSel
Low Power Overload Frequency Select
Sourcepub const fn set_lp_overload_freq_sel(&mut self, val: LpOverloadFreqSel)
pub const fn set_lp_overload_freq_sel(&mut self, val: LpOverloadFreqSel)
Low Power Overload Frequency Select
Sourcepub const fn lp_high_hys(&self) -> LpHighHys
pub const fn lp_high_hys(&self) -> LpHighHys
Low Power High Hysteric Value
Sourcepub const fn set_lp_high_hys(&mut self, val: LpHighHys)
pub const fn set_lp_high_hys(&mut self, val: LpHighHys)
Low Power High Hysteric Value
Sourcepub const fn pwd_cmp_offset(&self) -> PwdCmpOffset
pub const fn pwd_cmp_offset(&self) -> PwdCmpOffset
Power down output range comparator
Sourcepub const fn set_pwd_cmp_offset(&mut self, val: PwdCmpOffset)
pub const fn set_pwd_cmp_offset(&mut self, val: PwdCmpOffset)
Power down output range comparator
Sourcepub const fn xtalok_disable(&self) -> XtalokDisable
pub const fn xtalok_disable(&self) -> XtalokDisable
Disable xtalok detection circuit
Sourcepub const fn set_xtalok_disable(&mut self, val: XtalokDisable)
pub const fn set_xtalok_disable(&mut self, val: XtalokDisable)
Disable xtalok detection circuit
Sourcepub const fn current_alert_reset(&self) -> bool
pub const fn current_alert_reset(&self) -> bool
Reset Current Alert Signal
Sourcepub const fn set_current_alert_reset(&mut self, val: bool)
pub const fn set_current_alert_reset(&mut self, val: bool)
Reset Current Alert Signal
Sourcepub const fn xtal_24m_ok(&self) -> Xtal24mOk
pub const fn xtal_24m_ok(&self) -> Xtal24mOk
24M XTAL OK
Sourcepub const fn set_xtal_24m_ok(&mut self, val: Xtal24mOk)
pub const fn set_xtal_24m_ok(&mut self, val: Xtal24mOk)
24M XTAL OK
Sourcepub const fn set_sts_dc_ok(&mut self, val: bool)
pub const fn set_sts_dc_ok(&mut self, val: bool)
DCDC Output OK