typecutils

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Package typecutils contains constants & helper functions used by the tests in the typec directory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CcOffAndWait

func CcOffAndWait(ctx context.Context, svo *servo.Servo) error

CcOffAndWait performs a CC Off command, followed by a sleep to ensure VBus discharges safely before any further modification.

func CheckForDPAltMode

func CheckForDPAltMode(ctx context.Context, d *dut.DUT, s *testing.State, pinAssign string) error

CheckForDPAltMode verifies that a partner was enumerated with the expected DP altmode with the selected pin assignment setting(if provided).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL