pub struct R(_);
Expand description
Register DT2_CFG
reader
Implementations§
source§impl R
impl R
sourcepub fn db2_fed_upmethod(&self) -> DB2_FED_UPMETHOD_R
pub fn db2_fed_upmethod(&self) -> DB2_FED_UPMETHOD_R
Bits 0:3 - Update method for FED (falling edge delay) active register. 0: immediate,when bit0 is set to 1: tez, when bit1 is set to 1:tep, when bit2 is set to 1: sync, when bit3 is set to 1: disable the update
sourcepub fn db2_red_upmethod(&self) -> DB2_RED_UPMETHOD_R
pub fn db2_red_upmethod(&self) -> DB2_RED_UPMETHOD_R
Bits 4:7 - Update method for RED (rising edge delay) active register. 0: immediate,when bit0 is set to 1: tez, when bit1 is set to 1:tep, when bit2 is set to 1: sync, when bit3 is set to 1: disable the update
sourcepub fn db2_deb_mode(&self) -> DB2_DEB_MODE_R
pub fn db2_deb_mode(&self) -> DB2_DEB_MODE_R
Bit 8 - S8 in table, dual-edge B mode, 0: fed/red take effect on different path separately, 1: fed/red take effect on B path, A out is in bypass or dulpB mode
sourcepub fn db2_a_outswap(&self) -> DB2_A_OUTSWAP_R
pub fn db2_a_outswap(&self) -> DB2_A_OUTSWAP_R
Bit 9 - S6 in table
sourcepub fn db2_b_outswap(&self) -> DB2_B_OUTSWAP_R
pub fn db2_b_outswap(&self) -> DB2_B_OUTSWAP_R
Bit 10 - S7 in table
sourcepub fn db2_red_insel(&self) -> DB2_RED_INSEL_R
pub fn db2_red_insel(&self) -> DB2_RED_INSEL_R
Bit 11 - S4 in table
sourcepub fn db2_fed_insel(&self) -> DB2_FED_INSEL_R
pub fn db2_fed_insel(&self) -> DB2_FED_INSEL_R
Bit 12 - S5 in table
sourcepub fn db2_red_outinvert(&self) -> DB2_RED_OUTINVERT_R
pub fn db2_red_outinvert(&self) -> DB2_RED_OUTINVERT_R
Bit 13 - S2 in table
sourcepub fn db2_fed_outinvert(&self) -> DB2_FED_OUTINVERT_R
pub fn db2_fed_outinvert(&self) -> DB2_FED_OUTINVERT_R
Bit 14 - S3 in table
sourcepub fn db2_a_outbypass(&self) -> DB2_A_OUTBYPASS_R
pub fn db2_a_outbypass(&self) -> DB2_A_OUTBYPASS_R
Bit 15 - S1 in table
sourcepub fn db2_b_outbypass(&self) -> DB2_B_OUTBYPASS_R
pub fn db2_b_outbypass(&self) -> DB2_B_OUTBYPASS_R
Bit 16 - S0 in table
sourcepub fn db2_clk_sel(&self) -> DB2_CLK_SEL_R
pub fn db2_clk_sel(&self) -> DB2_CLK_SEL_R
Bit 17 - Dead time generator 2 clock selection. 0: PWM_clk, 1: PT_clk