UniTAP.dev.ports.modules.pdc.pdc_controls
Class PdcControlsBase allows controlling some PDC commands:
- Send PR Swap
send_pr_swap. - Send DR Swap
send_dr_swap. - Send FR Swap
send_fr_swap. - Send VCONN Swap
send_vconn_swap. - Change cable control orientation
orientation. - Attach/DeAttach
attach. - Enable/Disable auto negotiate power contract
enable_auto_negotiate_power_contract. - Enable/Disable communication capable as PD Sink
communication_capable_as_pd_sink. - Enable/Disable communication capable as PD Source
communication_capable_as_pd_source.
Send Power Role swap. It will be necessary to manually check that the changes have been made.
Send Dual Role swap. It will be necessary to manually check that the changes have been made.
Send Fast Role swap. It will be necessary to manually check that the changes have been made.
Send VCONN Role swap. It will be necessary to manually check that the changes have been made.
Change cable control orientation.
Arguments:
- orientation (
CableControlOrientation)
Enable/Disable auto negotiate power contract.
Arguments:
- enable (
bool)
Class PdcControls340 inherited from class PdcControlsBase.
Class PdcControls340 allows controlling additional commands.
Also has all the PdcControlsBase functionality.
- Reconnect device
reconnect. - Reset device
reset. - Set ET cable different pairs
et_cable_diff_pairs.
Set ET cable different pairs.
Arguments:
- differential_pair (
DifferentialPair)
Class PdcControls424 inherited from class PdcControlsBase.
Class PdcControls424 allows controlling additional commands.
Also has all the PdcControlsBase functionality.
Class PdcControls500 inherited from class PdcControlsBase.
Class PdcControls500 allows controlling additional commands.
Also has all the PdcControlsBase functionality.
- Reconnect device
reconnect. - Enable/Disable internal resistance 10 Ohm
enable_internal_load_10_ohm.