CAT2 Peripheral Driver Library
cy_pd_pd_hdr_t Union Reference

Description

Union to hold the PD header defined by the USB-PD specification.

Lower 16 bits hold the message header and the upper 16 bits hold the extended message header (where applicable).

Data Structures

struct  PD_HDR
 PD message header broken down into component fields. More...
 

Data Fields

uint32_t val
 Header expressed as a 32-bit word. More...
 
struct cy_pd_pd_hdr_t::PD_HDR hdr
 PD message header split into component fields. More...
 

Field Documentation

◆ val

uint32_t cy_pd_pd_hdr_t::val

Header expressed as a 32-bit word.

◆ hdr

struct cy_pd_pd_hdr_t::PD_HDR cy_pd_pd_hdr_t::hdr

PD message header split into component fields.