[][src]Type Definition imxrt1062_dcdc::reg0::R

type R = R<u32, REG0>;

Reader of register REG0

Methods

impl R[src]

pub fn pwd_zcd(&self) -> PWD_ZCD_R[src]

Bit 0 - power down the zero cross detection function for discontinuous conductor mode

pub fn disable_auto_clk_switch(&self) -> DISABLE_AUTO_CLK_SWITCH_R[src]

Bit 1 - Disable automatic clock switch from internal osc to xtal clock.

pub fn sel_clk(&self) -> SEL_CLK_R[src]

Bit 2 - select 24 MHz Crystal clock for DCDC, when dcdc_disable_auto_clk_switch is set.

pub fn pwd_osc_int(&self) -> PWD_OSC_INT_R[src]

Bit 3 - Power down internal osc. Only set this bit, when 24 MHz crystal osc is available

pub fn pwd_cur_sns_cmp(&self) -> PWD_CUR_SNS_CMP_R[src]

Bit 4 - The power down signal of the current detector.

pub fn cur_sns_thrsh(&self) -> CUR_SNS_THRSH_R[src]

Bits 5:7 - Set the threshold of current detector, if the peak current of the inductor exceeds the threshold, the current detector will assert

pub fn pwd_overcur_det(&self) -> PWD_OVERCUR_DET_R[src]

Bit 8 - power down overcurrent detection comparator

pub fn overcur_trig_adj(&self) -> OVERCUR_TRIG_ADJ_R[src]

Bits 9:10 - The threshold of over current detection in run mode and power save mode: run mode power save mode 0x0 1 A 0

pub fn pwd_cmp_batt_det(&self) -> PWD_CMP_BATT_DET_R[src]

Bit 11 - set to "1" to power down the low voltage detection comparator

pub fn adj_poslimit_buck(&self) -> ADJ_POSLIMIT_BUCK_R[src]

Bits 12:15 - adjust value to poslimit_buck register

pub fn en_lp_overload_sns(&self) -> EN_LP_OVERLOAD_SNS_R[src]

Bit 16 - enable the overload detection in power save mode, if current is larger than the overloading threshold (typical value is 50 mA), DCDC will switch to the run mode automatically

pub fn pwd_high_volt_det(&self) -> PWD_HIGH_VOLT_DET_R[src]

Bit 17 - power down overvoltage detection comparator

pub fn lp_overload_thrsh(&self) -> LP_OVERLOAD_THRSH_R[src]

Bits 18:19 - the threshold of the counting number of charging times during the period that lp_overload_freq_sel sets in power save mode

pub fn lp_overload_freq_sel(&self) -> LP_OVERLOAD_FREQ_SEL_R[src]

Bit 20 - the period of counting the charging times in power save mode 0: eight 32k cycle 1: sixteen 32k cycle

pub fn lp_high_hys(&self) -> LP_HIGH_HYS_R[src]

Bit 21 - Adjust hysteretic value in low power from 12.5mV to 25mV

pub fn pwd_cmp_offset(&self) -> PWD_CMP_OFFSET_R[src]

Bit 26 - power down output range comparator

pub fn xtalok_disable(&self) -> XTALOK_DISABLE_R[src]

Bit 27 - 1'b1: Disable xtalok detection circuit 1'b0: Enable xtalok detection circuit

pub fn current_alert_reset(&self) -> CURRENT_ALERT_RESET_R[src]

Bit 28 - reset current alert signal

pub fn xtal_24m_ok(&self) -> XTAL_24M_OK_R[src]

Bit 29 - set to 1 to switch internal ring osc to xtal 24M

pub fn sts_dc_ok(&self) -> STS_DC_OK_R[src]

Bit 31 - Status register to indicate DCDC status. 1'b1: DCDC already settled 1'b0: DCDC is settling