pub struct R(_);
Expand description
Register OTG_CONF
reader
Implementations
sourceimpl R
impl R
sourcepub fn srp_sessend_override(&self) -> SRP_SESSEND_OVERRIDE_R
pub fn srp_sessend_override(&self) -> SRP_SESSEND_OVERRIDE_R
Bit 0 - This bit is used to enable the software over-ride of srp session end signal. 1’b0: the signal is controlled by the chip input. 1’b1: the signal is controlled by the software.
sourcepub fn srp_sessend_value(&self) -> SRP_SESSEND_VALUE_R
pub fn srp_sessend_value(&self) -> SRP_SESSEND_VALUE_R
Bit 1 - Software over-ride value of srp session end signal.
sourcepub fn phy_sel(&self) -> PHY_SEL_R
pub fn phy_sel(&self) -> PHY_SEL_R
Bit 2 - Select internal external PHY. 1’b0: Select internal PHY. 1’b1: Select external PHY.
sourcepub fn dfifo_force_pd(&self) -> DFIFO_FORCE_PD_R
pub fn dfifo_force_pd(&self) -> DFIFO_FORCE_PD_R
Bit 3 - Force the dfifo to go into low power mode. The data in dfifo will not lost.
sourcepub fn dbnce_fltr_bypass(&self) -> DBNCE_FLTR_BYPASS_R
pub fn dbnce_fltr_bypass(&self) -> DBNCE_FLTR_BYPASS_R
Bit 4 - Bypass Debounce filters for avalid,bvalid,vbusvalid,session end, id signals
sourcepub fn exchg_pins_override(&self) -> EXCHG_PINS_OVERRIDE_R
pub fn exchg_pins_override(&self) -> EXCHG_PINS_OVERRIDE_R
Bit 5 - Enable software controlle USB D+ D- exchange
sourcepub fn exchg_pins(&self) -> EXCHG_PINS_R
pub fn exchg_pins(&self) -> EXCHG_PINS_R
Bit 6 - USB D+ D- exchange. 1’b0: don’t change. 1’b1: exchange D+ D-
sourcepub fn vrefh(&self) -> VREFH_R
pub fn vrefh(&self) -> VREFH_R
Bits 7:8 - Control single-end input high threshold,1.76V to 2V, step 80mV
sourcepub fn vrefl(&self) -> VREFL_R
pub fn vrefl(&self) -> VREFL_R
Bits 9:10 - Control single-end input low threshold,0.8V to 1.04V, step 80mV
sourcepub fn vref_override(&self) -> VREF_OVERRIDE_R
pub fn vref_override(&self) -> VREF_OVERRIDE_R
Bit 11 - Enable software controlle input threshold
sourcepub fn pad_pull_override(&self) -> PAD_PULL_OVERRIDE_R
pub fn pad_pull_override(&self) -> PAD_PULL_OVERRIDE_R
Bit 12 - Enable software controlle USB D+ D- pullup pulldown
sourcepub fn dp_pullup(&self) -> DP_PULLUP_R
pub fn dp_pullup(&self) -> DP_PULLUP_R
Bit 13 - Controlle USB D+ pullup
sourcepub fn dp_pulldown(&self) -> DP_PULLDOWN_R
pub fn dp_pulldown(&self) -> DP_PULLDOWN_R
Bit 14 - Controlle USB D+ pulldown
sourcepub fn dm_pullup(&self) -> DM_PULLUP_R
pub fn dm_pullup(&self) -> DM_PULLUP_R
Bit 15 - Controlle USB D+ pullup
sourcepub fn dm_pulldown(&self) -> DM_PULLDOWN_R
pub fn dm_pulldown(&self) -> DM_PULLDOWN_R
Bit 16 - Controlle USB D+ pulldown
sourcepub fn pullup_value(&self) -> PULLUP_VALUE_R
pub fn pullup_value(&self) -> PULLUP_VALUE_R
Bit 17 - Controlle pullup value. 1’b0: typical value is 2.4K. 1’b1: typical value is 1.2K.
sourcepub fn usb_pad_enable(&self) -> USB_PAD_ENABLE_R
pub fn usb_pad_enable(&self) -> USB_PAD_ENABLE_R
Bit 18 - Enable USB pad function
sourcepub fn ahb_clk_force_on(&self) -> AHB_CLK_FORCE_ON_R
pub fn ahb_clk_force_on(&self) -> AHB_CLK_FORCE_ON_R
Bit 19 - Force ahb clock always on
sourcepub fn phy_clk_force_on(&self) -> PHY_CLK_FORCE_ON_R
pub fn phy_clk_force_on(&self) -> PHY_CLK_FORCE_ON_R
Bit 20 - Force phy clock always on
sourcepub fn phy_tx_edge_sel(&self) -> PHY_TX_EDGE_SEL_R
pub fn phy_tx_edge_sel(&self) -> PHY_TX_EDGE_SEL_R
Bit 21 - Select phy tx signal output clock edge. 1’b0: negedge. 1’b1: posedge.
sourcepub fn dfifo_force_pu(&self) -> DFIFO_FORCE_PU_R
pub fn dfifo_force_pu(&self) -> DFIFO_FORCE_PU_R
Bit 22 - Disable the dfifo to go into low power mode. The data in dfifo will not lost.