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

Build an extended message header See Table 6-3 Extended Message Header. More...

#include <usbc_pd.h>

Data Fields

struct {
   uint16_t   data_size: 9
 Number of total bytes in data block. More...
 
   uint16_t   reserved0: 1
 Reserved. More...
 
   uint16_t   request_chunk: 1
 1 for a chunked message, else 0 More...
 
   uint16_t   chunk_number: 4
 Chunk number when chkd = 1, else 0. More...
 
   uint16_t   chunked: 1
 1 for chunked messages More...
 
}; 
 
uint16_t raw_value
 Raw PD Ext Header value.
 

Detailed Description

Build an extended message header See Table 6-3 Extended Message Header.

Field Documentation

◆ 

struct { ... } pd_ext_header::@220

◆ chunk_number

uint16_t pd_ext_header::chunk_number

Chunk number when chkd = 1, else 0.

◆ chunked

uint16_t pd_ext_header::chunked

1 for chunked messages

◆ data_size

uint16_t pd_ext_header::data_size

Number of total bytes in data block.

◆ raw_value

uint16_t pd_ext_header::raw_value

Raw PD Ext Header value.

◆ request_chunk

uint16_t pd_ext_header::request_chunk

1 for a chunked message, else 0

◆ reserved0

uint16_t pd_ext_header::reserved0

Reserved.


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