Debug counters of the PD negociation events, since boot.
More...
#include <usb_pd.h>
|
|
uint32_t | attaches |
| | source attached (CC debounced, VBUS present)
|
| |
|
uint32_t | src_caps_received |
| | source capabilities messages received (and answered with a request)
|
| |
|
uint32_t | contracts |
| | contracts established as sink (PS_RDY received)
|
| |
|
uint32_t | soft_resets_sent |
| | soft resets sent, and the ones that were not acknowledged
|
| |
|
uint32_t | soft_resets_failed |
| |
|
uint32_t | hard_resets_sent |
| | hard resets sent, and the ones whose transmission never completed (assumed sent, as the spec says)
|
| |
|
uint32_t | hard_resets_tx_failed |
| |
|
uint32_t | hard_resets_received |
| | hard resets received from the partner
|
| |
|
uint32_t | src_attaches |
| | sink attached while we are source (CC debounced)
|
| |
|
uint32_t | src_caps_sent |
| | source capabilities sent while we are source, and the ones acknowledged by a GoodCRC
|
| |
|
uint32_t | src_caps_acked |
| |
|
uint32_t | src_contracts |
| | contracts established as source (PS_RDY sent and acknowledged)
|
| |
|
uint32_t | pr_swaps_accepted |
| | power role swaps requested by the partner: accepted, rejected
|
| |
|
uint32_t | pr_swaps_rejected |
| |
|
uint32_t | pr_swaps_to_source |
| | power role swaps completed: we became the source, we became the sink
|
| |
|
uint32_t | pr_swaps_to_sink |
| |
|
uint32_t | pr_swaps_vbus_timeout |
| | swaps to source abandoned because our VBUS did not come up in time
|
| |
Debug counters of the PD negociation events, since boot.
The documentation for this struct was generated from the following file: