stm32 /stm32h7rs /STM32H7S /OTG_HS /OTG_GCCFG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as OTG_GCCFG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)CHGDET 0 (B_0x0)FSVPLUS 0 (B_0x0)FSVMINUS 0 (B_0x0)SESSVLD 0 (B_0x0)HCDPEN 0 (B_0x0)HCDPDETEN 0 (B_0x0)HVDMSRCEN 0 (B_0x0)DCDEN 0 (B_0x0)PDEN 0 (B_0x0)VBDEN 0 (B_0x0)SDEN 0 (B_0x0)VBVALOVAL 0 (B_0x0)VBVALOVEN 0 (B_0x0)FORCEHOSTPD

CHGDET=B_0x0, PDEN=B_0x0, DCDEN=B_0x0, VBVALOVEN=B_0x0, SDEN=B_0x0, HCDPEN=B_0x0, FORCEHOSTPD=B_0x0, VBVALOVAL=B_0x0, HVDMSRCEN=B_0x0, HCDPDETEN=B_0x0, SESSVLD=B_0x0, FSVMINUS=B_0x0, VBDEN=B_0x0, FSVPLUS=B_0x0

Description

OTG general core configuration register

Fields

CHGDET

Charger detection, result of the current mode (primary or secondary).

0 (B_0x0): Low value on pin

1 (B_0x1): High value on pin

FSVPLUS

Single-Ended DP indicator This bit gives the voltage level on DP (also result of the comparison with VLGC threshold as defined in BC v1.2 standard).

0 (B_0x0): DM voltage at low level

1 (B_0x1): DM voltage at high level

FSVMINUS

Single-Ended DM indicator This bit gives the voltage level on DM (also result of the comparison with VLGC threshold as defined in BC v1.2 standard).

0 (B_0x0): DM voltage at low level

1 (B_0x1): DM voltage at high level

SESSVLD

VBUS session indicator Indicates if VBUS is above VBUS session threshold.

0 (B_0x0): VBUS is below VBUS session threshold

1 (B_0x1): VBUS is above VBUS session threshold

HCDPEN

Host CDP behavior enable

0 (B_0x0): Disable CDP behavior

1 (B_0x1): Enable CDP behavior

HCDPDETEN

Host CDP port voltage detector enable on DP

0 (B_0x0): DP voltage detection disabled

1 (B_0x1): DP voltage detection enabled

HVDMSRCEN

Host CDP port Voltage source enable on DM

0 (B_0x0): DM voltage source disabled

1 (B_0x1): DM Voltage source enabled

DCDEN

Data Contact Detection enable

0 (B_0x0): Data Contact Detection disabled

1 (B_0x1): Data Contact Detection enabled

PDEN

Primary detection enable

0 (B_0x0): Primary detection disabled

1 (B_0x1): Primary detection enabled

VBDEN

VBUS detection enable Enables VBUS Sensing Comparators in order to detect VBUS presence and/or perform OTG operation.

0 (B_0x0): VBUS detection disabled

1 (B_0x1): VBUS detection enabled

SDEN

Secondary detection enable

0 (B_0x0): Secondary detection disabled

1 (B_0x1): Secondary detection enabled

VBVALOVAL

Software override value of the VBUS B-session detection

0 (B_0x0): B-session inactive

1 (B_0x1): B-session active

VBVALOVEN

Enables a software override of the VBUS B-session detection.

0 (B_0x0): Use hardware

1 (B_0x1): Use VBVALOVAL to indicate B-session active

FORCEHOSTPD

Force host mode pull-downs If the ID pin functions are enabled, the host mode pull-downs on DP and DM activate automatically. However, whenever that is not the case, yet host mode is required, this bit must be used to force the pull-downs active.

0 (B_0x0): Do not force host mode pull-downs

1 (B_0x1): Force host mode pull-downs

Links

()