CAT2 Peripheral Driver Library

Functions

cy_en_usbpd_status_t Cy_USBPD_Mux_ConfigDpDm (cy_stc_usbpd_context_t *context, cy_en_usbpd_dpdm_mux_cfg_t conf)
 This function configures the Dp/Dm MUX. More...
 
cy_en_usbpd_status_t Cy_USBPD_Mux_SbuSwitchConfigure (cy_stc_usbpd_context_t *context, cy_en_usbpd_sbu_switch_state_t sbu1State, cy_en_usbpd_sbu_switch_state_t sbu2State)
 This function configures the SBU Switches. More...
 
cy_en_usbpd_status_t Cy_USBPD_Mux_AuxTermConfigure (cy_stc_usbpd_context_t *context, cy_en_usbpd_aux_resistor_config_t aux1Config, cy_en_usbpd_aux_resistor_config_t aux2Config)
 This function configures resistor values for AUX1 and AUX2. More...
 
cy_en_usbpd_status_t Cy_USBPD_Mux_SbuAdftEnable (cy_stc_usbpd_context_t *context, cy_en_usbpd_sbu_adft_input_t adftInput)
 This function enables the ADFT block of SBU. More...
 
void Cy_USBPD_Mux_SbuAdftDisable (cy_stc_usbpd_context_t *context)
 This function disables the ADFT block of SBU. More...
 

Detailed Description

Function Documentation

◆ Cy_USBPD_Mux_ConfigDpDm()

cy_en_usbpd_status_t Cy_USBPD_Mux_ConfigDpDm ( cy_stc_usbpd_context_t context,
cy_en_usbpd_dpdm_mux_cfg_t  conf 
)

This function configures the Dp/Dm MUX.

Parameters
contextUSBPD PDL Context pointer.
confDP/DM MUX Configuration
Returns
cy_en_usbpd_status_t

◆ Cy_USBPD_Mux_SbuSwitchConfigure()

cy_en_usbpd_status_t Cy_USBPD_Mux_SbuSwitchConfigure ( cy_stc_usbpd_context_t context,
cy_en_usbpd_sbu_switch_state_t  sbu1State,
cy_en_usbpd_sbu_switch_state_t  sbu2State 
)

This function configures the SBU Switches.

Parameters
contextUSBPD PDL Context pointer.
sbu1Statesbu switch 1 state
sbu2Statesbu switch 2 state
Returns
cy_en_usbpd_status_t

◆ Cy_USBPD_Mux_AuxTermConfigure()

cy_en_usbpd_status_t Cy_USBPD_Mux_AuxTermConfigure ( cy_stc_usbpd_context_t context,
cy_en_usbpd_aux_resistor_config_t  aux1Config,
cy_en_usbpd_aux_resistor_config_t  aux2Config 
)

This function configures resistor values for AUX1 and AUX2.

Parameters
contextUSBPD PDL Context pointer.
aux1ConfigAux Resistor 1 state
aux2ConfigAux Resistor 2 state
Returns
cy_en_usbpd_status_t

◆ Cy_USBPD_Mux_SbuAdftEnable()

cy_en_usbpd_status_t Cy_USBPD_Mux_SbuAdftEnable ( cy_stc_usbpd_context_t context,
cy_en_usbpd_sbu_adft_input_t  adftInput 
)

This function enables the ADFT block of SBU.

Parameters
contextUSBPD PDL Context pointer.
adftInputInput from the SBU that needs to be connected to ADFT
Returns
cy_en_usbpd_status_t

◆ Cy_USBPD_Mux_SbuAdftDisable()

void Cy_USBPD_Mux_SbuAdftDisable ( cy_stc_usbpd_context_t context)

This function disables the ADFT block of SBU.

Parameters
contextUSBPD PDL Context pointer.
Returns
None