mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
pdeval-stm32f072: Document pd swap commands
BUG=None TEST=None BRANCH=None Change-Id: I711c89d47e613c6a15531d3b751cb01f5acb4225 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/303935 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
939d07fc4e
commit
e498de6ad6
@@ -76,8 +76,10 @@ EC command line commands
|
||||
- `help` List all available EC console commands
|
||||
- `vbus` Toggle VBUS on/off
|
||||
- `pd <port> state` Print PD protocol state information
|
||||
- `i2cscan` Scan i2c bus for any responsive devices
|
||||
- `i2cxfer` Perform an i2c transaction
|
||||
- `pd <port> swap data` Request data role swap on port
|
||||
- `pd <port> swap power` Request power role swap on port
|
||||
- `i2cscan` Scan i2c bus for any responsive devices
|
||||
- `i2cxfer` Perform an i2c transaction
|
||||
|
||||
On the console, you will the PD state machine transitioning through its states with traces like `C0 st5`.
|
||||
You can always the human readable name of the current state by doing `pd 0 state` returning something like :
|
||||
|
||||
Reference in New Issue
Block a user