Expand description
UCPD configuration register 1
Re-exports§
pub use RXORDSETEN0_R as RXORDSETEN1_R;
pub use RXORDSETEN0_R as RXORDSETEN2_R;
pub use RXORDSETEN0_R as RXORDSETEN3_R;
pub use RXORDSETEN0_R as RXORDSETEN4_R;
pub use RXORDSETEN0_R as RXORDSETEN5_R;
pub use RXORDSETEN0_R as RXORDSETEN6_R;
pub use RXORDSETEN0_R as RXORDSETEN7_R;
pub use RXORDSETEN0_R as RXORDSETEN8_R;
pub use RXORDSETEN0_W as RXORDSETEN1_W;
pub use RXORDSETEN0_W as RXORDSETEN2_W;
pub use RXORDSETEN0_W as RXORDSETEN3_W;
pub use RXORDSETEN0_W as RXORDSETEN4_W;
pub use RXORDSETEN0_W as RXORDSETEN5_W;
pub use RXORDSETEN0_W as RXORDSETEN6_W;
pub use RXORDSETEN0_W as RXORDSETEN7_W;
pub use RXORDSETEN0_W as RXORDSETEN8_W;
Structs§
- CFGR1rs
- UCPD configuration register 1
Enums§
- PSC_
USBPDCLK - Pre-scaler division ratio for generating ucpd_clk The bitfield determines the division ratio of a kernel clock pre-scaler producing UCPD peripheral clock (ucpd_clk). It is recommended to use the pre-scaler so as to set the ucpd_clk frequency in the range from 6 to 9 MHz.
- RXDMAEN
- Reception DMA mode enable When set, the bit enables DMA mode for reception.
- RXORDSETE
N0 - SOP detection
- TXDMAEN
- Transmission DMA mode enable When set, the bit enables DMA mode for transmission.
- UCPDEN
- UCPD peripheral enable General enable of the UCPD peripheral. Upon disabling, the peripheral instantly quits any ongoing activity and all control bits and bitfields default to their reset values. They must be set to their desired values each time the peripheral transits from disabled to enabled state.
Type Aliases§
- HBITCLKDIV_
R - Field
HBITCLKDIV
reader - Division ratio for producing half-bit clock The bitfield determines the division ratio (the bitfield value plus one) of a ucpd_clk divider producing half-bit clock (hbit_clk). - HBITCLKDIV_
W - Field
HBITCLKDIV
writer - Division ratio for producing half-bit clock The bitfield determines the division ratio (the bitfield value plus one) of a ucpd_clk divider producing half-bit clock (hbit_clk). - IFRGAP_
R - Field
IFRGAP
reader - Division ratio for producing inter-frame gap timer clock The bitfield determines the division ratio (the bitfield value minus one) of a ucpd_clk divider producing inter-frame gap timer clock (tInterFrameGap). The division ratio 15 is to apply for Tx clock at the USB PD 2.0 specification nominal value. The division ratios below 15 are to apply for Tx clock below nominal, and the division ratios above 15 for Tx clock above nominal. - IFRGAP_
W - Field
IFRGAP
writer - Division ratio for producing inter-frame gap timer clock The bitfield determines the division ratio (the bitfield value minus one) of a ucpd_clk divider producing inter-frame gap timer clock (tInterFrameGap). The division ratio 15 is to apply for Tx clock at the USB PD 2.0 specification nominal value. The division ratios below 15 are to apply for Tx clock below nominal, and the division ratios above 15 for Tx clock above nominal. - PSC_
USBPDCLK_ R - Field
PSC_USBPDCLK
reader - Pre-scaler division ratio for generating ucpd_clk The bitfield determines the division ratio of a kernel clock pre-scaler producing UCPD peripheral clock (ucpd_clk). It is recommended to use the pre-scaler so as to set the ucpd_clk frequency in the range from 6 to 9 MHz. - PSC_
USBPDCLK_ W - Field
PSC_USBPDCLK
writer - Pre-scaler division ratio for generating ucpd_clk The bitfield determines the division ratio of a kernel clock pre-scaler producing UCPD peripheral clock (ucpd_clk). It is recommended to use the pre-scaler so as to set the ucpd_clk frequency in the range from 6 to 9 MHz. - R
- Register
CFGR1
reader - RXDMAEN_
R - Field
RXDMAEN
reader - Reception DMA mode enable When set, the bit enables DMA mode for reception. - RXDMAEN_
W - Field
RXDMAEN
writer - Reception DMA mode enable When set, the bit enables DMA mode for reception. - RXORDSETE
N0_ R - Field
RXORDSETEN0
reader - SOP detection - RXORDSETE
N0_ W - Field
RXORDSETEN0
writer - SOP detection - TRANSWIN_
R - Field
TRANSWIN
reader - Transition window duration The bitfield determines the division ratio (the bitfield value minus one) of a hbit_clk divider producing tTransitionWindow interval. Set a value that produces an interval of 12 to 20 us, taking into account the ucpd_clk frequency and the HBITCLKDIV[5:0] bitfield setting. - TRANSWIN_
W - Field
TRANSWIN
writer - Transition window duration The bitfield determines the division ratio (the bitfield value minus one) of a hbit_clk divider producing tTransitionWindow interval. Set a value that produces an interval of 12 to 20 us, taking into account the ucpd_clk frequency and the HBITCLKDIV[5:0] bitfield setting. - TXDMAEN_
R - Field
TXDMAEN
reader - Transmission DMA mode enable When set, the bit enables DMA mode for transmission. - TXDMAEN_
W - Field
TXDMAEN
writer - Transmission DMA mode enable When set, the bit enables DMA mode for transmission. - UCPDEN_
R - Field
UCPDEN
reader - UCPD peripheral enable General enable of the UCPD peripheral. Upon disabling, the peripheral instantly quits any ongoing activity and all control bits and bitfields default to their reset values. They must be set to their desired values each time the peripheral transits from disabled to enabled state. - UCPDEN_
W - Field
UCPDEN
writer - UCPD peripheral enable General enable of the UCPD peripheral. Upon disabling, the peripheral instantly quits any ongoing activity and all control bits and bitfields default to their reset values. They must be set to their desired values each time the peripheral transits from disabled to enabled state. - W
- Register
CFGR1
writer