Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Build a PD message header See Table 6-1 Message Header. More...
#include <usbc_pd.h>
Data Fields | ||
struct { | ||
uint16_t message_type: 5 | ||
Type of message. More... | ||
uint16_t port_data_role: 1 | ||
Port Data role. More... | ||
uint16_t specification_revision: 2 | ||
Specification Revision. More... | ||
uint16_t port_power_role: 1 | ||
Port Power Role. More... | ||
uint16_t message_id: 3 | ||
Message ID. More... | ||
uint16_t number_of_data_objects: 3 | ||
Number of Data Objects. More... | ||
uint16_t extended: 1 | ||
Extended Message. More... | ||
}; | ||
uint16_t | raw_value | |
Build a PD message header See Table 6-1 Message Header.
struct { ... } pd_header |
uint16_t pd_header::extended |
Extended Message.
uint16_t pd_header::message_id |
Message ID.
uint16_t pd_header::message_type |
Type of message.
uint16_t pd_header::number_of_data_objects |
Number of Data Objects.
uint16_t pd_header::port_data_role |
Port Data role.
uint16_t pd_header::port_power_role |
Port Power Role.
uint16_t pd_header::raw_value |
uint16_t pd_header::specification_revision |
Specification Revision.