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... | |
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.
context | USBPD PDL Context pointer. |
conf | DP/DM MUX Configuration |
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.
context | USBPD PDL Context pointer. |
sbu1State | sbu switch 1 state |
sbu2State | sbu switch 2 state |
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.
context | USBPD PDL Context pointer. |
aux1Config | Aux Resistor 1 state |
aux2Config | Aux Resistor 2 state |
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.
context | USBPD PDL Context pointer. |
adftInput | Input from the SBU that needs to be connected to ADFT |
void Cy_USBPD_Mux_SbuAdftDisable | ( | cy_stc_usbpd_context_t * | context | ) |
This function disables the ADFT block of SBU.
context | USBPD PDL Context pointer. |