Module rp2040_pac::usbctrl_regs::usbphy_direct

source ·
Expand description

This register allows for direct control of the USB phy. Use in conjunction with usbphy_direct_override register to enable each override bit.

Structs§

  • This register allows for direct control of the USB phy. Use in conjunction with usbphy_direct_override register to enable each override bit.

Type Aliases§

  • Field DM_OVCN reader - DM overcurrent
  • Field DM_OVV reader - DM over voltage
  • Field DM_PULLDN_EN reader - DM pull down enable
  • Field DM_PULLDN_EN writer - DM pull down enable
  • Field DM_PULLUP_EN reader - DM pull up enable
  • Field DM_PULLUP_EN writer - DM pull up enable
  • Field DM_PULLUP_HISEL reader - Enable the second DM pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1 + Rpu2
  • Field DM_PULLUP_HISEL writer - Enable the second DM pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1 + Rpu2
  • Field DP_OVCN reader - DP overcurrent
  • Field DP_OVV reader - DP over voltage
  • Field DP_PULLDN_EN reader - DP pull down enable
  • Field DP_PULLDN_EN writer - DP pull down enable
  • Field DP_PULLUP_EN reader - DP pull up enable
  • Field DP_PULLUP_EN writer - DP pull up enable
  • Field DP_PULLUP_HISEL reader - Enable the second DP pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1 + Rpu2
  • Field DP_PULLUP_HISEL writer - Enable the second DP pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1 + Rpu2
  • Register USBPHY_DIRECT reader
  • Field RX_DD reader - Differential RX
  • Field RX_DM reader - DPM pin state
  • Field RX_DP reader - DPP pin state
  • Field RX_PD reader - RX power down override (if override enable is set). 1 = powered down.
  • Field RX_PD writer - RX power down override (if override enable is set). 1 = powered down.
  • Field TX_DIFFMODE reader - TX_DIFFMODE=0: Single ended mode
    TX_DIFFMODE=1: Differential drive mode (TX_DM, TX_DM_OE ignored)
  • Field TX_DIFFMODE writer - TX_DIFFMODE=0: Single ended mode
    TX_DIFFMODE=1: Differential drive mode (TX_DM, TX_DM_OE ignored)
  • Field TX_DM_OE reader - Output enable. If TX_DIFFMODE=1, Ignored.
    If TX_DIFFMODE=0, OE for DPM only. 0 - DPM in Hi-Z state; 1 - DPM driving
  • Field TX_DM_OE writer - Output enable. If TX_DIFFMODE=1, Ignored.
    If TX_DIFFMODE=0, OE for DPM only. 0 - DPM in Hi-Z state; 1 - DPM driving
  • Field TX_DM reader - Output data. TX_DIFFMODE=1, Ignored
    TX_DIFFMODE=0, Drives DPM only. TX_DM_OE=1 to enable drive. DPM=TX_DM
  • Field TX_DM writer - Output data. TX_DIFFMODE=1, Ignored
    TX_DIFFMODE=0, Drives DPM only. TX_DM_OE=1 to enable drive. DPM=TX_DM
  • Field TX_DP_OE reader - Output enable. If TX_DIFFMODE=1, OE for DPP/DPM diff pair. 0 - DPP/DPM in Hi-Z state; 1 - DPP/DPM driving
    If TX_DIFFMODE=0, OE for DPP only. 0 - DPP in Hi-Z state; 1 - DPP driving
  • Field TX_DP_OE writer - Output enable. If TX_DIFFMODE=1, OE for DPP/DPM diff pair. 0 - DPP/DPM in Hi-Z state; 1 - DPP/DPM driving
    If TX_DIFFMODE=0, OE for DPP only. 0 - DPP in Hi-Z state; 1 - DPP driving
  • Field TX_DP reader - Output data. If TX_DIFFMODE=1, Drives DPP/DPM diff pair. TX_DP_OE=1 to enable drive. DPP=TX_DP, DPM=~TX_DP
    If TX_DIFFMODE=0, Drives DPP only. TX_DP_OE=1 to enable drive. DPP=TX_DP
  • Field TX_DP writer - Output data. If TX_DIFFMODE=1, Drives DPP/DPM diff pair. TX_DP_OE=1 to enable drive. DPP=TX_DP, DPM=~TX_DP
    If TX_DIFFMODE=0, Drives DPP only. TX_DP_OE=1 to enable drive. DPP=TX_DP
  • Field TX_FSSLEW reader - TX_FSSLEW=0: Low speed slew rate
    TX_FSSLEW=1: Full speed slew rate
  • Field TX_FSSLEW writer - TX_FSSLEW=0: Low speed slew rate
    TX_FSSLEW=1: Full speed slew rate
  • Field TX_PD reader - TX power down override (if override enable is set). 1 = powered down.
  • Field TX_PD writer - TX power down override (if override enable is set). 1 = powered down.
  • Register USBPHY_DIRECT writer