Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
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. | ||
Build an extended message header See Table 6-3 Extended Message Header.
struct { ... } pd_ext_header |
uint16_t pd_ext_header::chunk_number |
Chunk number when chkd = 1, else 0.
uint16_t pd_ext_header::chunked |
1 for chunked messages
uint16_t pd_ext_header::data_size |
Number of total bytes in data block.
uint16_t pd_ext_header::raw_value |
Raw PD Ext Header value.
uint16_t pd_ext_header::request_chunk |
1 for a chunked message, else 0
uint16_t pd_ext_header::reserved0 |
Reserved.