pub type R = R<DB2_CFG_SPEC>;
Expand description
Register DB2_CFG
reader
Aliased Type§
struct R { /* private fields */ }
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, bit0: tez, bit1: tep, bit2: sync, bit3: freeze
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, bit0: tez, bit1: tep, bit2: sync, bit3: freeze
sourcepub fn db2_deb_mode(&self) -> DB2_DEB_MODE_R
pub fn db2_deb_mode(&self) -> DB2_DEB_MODE_R
Bit 8 - S8 in documentation, 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 documentation
sourcepub fn db2_b_outswap(&self) -> DB2_B_OUTSWAP_R
pub fn db2_b_outswap(&self) -> DB2_B_OUTSWAP_R
Bit 10 - S7 in documentation
sourcepub fn db2_red_insel(&self) -> DB2_RED_INSEL_R
pub fn db2_red_insel(&self) -> DB2_RED_INSEL_R
Bit 11 - S4 in documentation
sourcepub fn db2_fed_insel(&self) -> DB2_FED_INSEL_R
pub fn db2_fed_insel(&self) -> DB2_FED_INSEL_R
Bit 12 - S5 in documentation
sourcepub fn db2_red_outinvert(&self) -> DB2_RED_OUTINVERT_R
pub fn db2_red_outinvert(&self) -> DB2_RED_OUTINVERT_R
Bit 13 - S2 in documentation
sourcepub fn db2_fed_outinvert(&self) -> DB2_FED_OUTINVERT_R
pub fn db2_fed_outinvert(&self) -> DB2_FED_OUTINVERT_R
Bit 14 - S3 in documentation
sourcepub fn db2_a_outbypass(&self) -> DB2_A_OUTBYPASS_R
pub fn db2_a_outbypass(&self) -> DB2_A_OUTBYPASS_R
Bit 15 - S1 in documentation
sourcepub fn db2_b_outbypass(&self) -> DB2_B_OUTBYPASS_R
pub fn db2_b_outbypass(&self) -> DB2_B_OUTBYPASS_R
Bit 16 - S0 in documentation
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