|
| enum | {
PdEventIdCCState
, PdEventIdRxDone
, PdEventIdRxError
, PdEventIdHrst
,
PdEventIdCCPoll
, PdEventIdStart
, PdEventIdRequest
, PdEventIdPpsKeepAlive
} |
| |
|
|
enum PdMessage:: { ... } | event |
| |
|
union { | |
| |
|
struct { | |
| |
|
uint8_t cc1 | |
| |
|
uint8_t cc2 | |
| |
| } cc_state | |
| |
|
struct { | |
| |
|
uint8_t ord_set_type | |
| |
|
uint8_t data [PD_MAX_PACKET_LEN] | |
| |
| } rx_done | |
| |
|
struct { | |
| |
|
uint32_t voltage_mv | |
| |
|
uint32_t current_ma | |
| |
| } request_power | |
| |
| }; | | |
| |
The documentation for this struct was generated from the following file: