Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pd_header Union Reference

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
 

Detailed Description

Build a PD message header See Table 6-1 Message Header.

Field Documentation

◆ 

struct { ... } pd_header::@218

◆ extended

uint16_t pd_header::extended

Extended Message.

◆ message_id

uint16_t pd_header::message_id

Message ID.

◆ message_type

uint16_t pd_header::message_type

Type of message.

◆ number_of_data_objects

uint16_t pd_header::number_of_data_objects

Number of Data Objects.

◆ port_data_role

uint16_t pd_header::port_data_role

Port Data role.

◆ port_power_role

uint16_t pd_header::port_power_role

Port Power Role.

◆ raw_value

uint16_t pd_header::raw_value

◆ specification_revision

uint16_t pd_header::specification_revision

Specification Revision.


The documentation for this union was generated from the following file: