HPI Library
cy_stc_hpi_port_reg_t Struct Reference

Description

Structure to define the HPI PD port-specific register details.

Data Fields

uint16_t vdm_ctrl
 00h
 
uint8_t eff_src_pdo_mask
 02h
 
uint8_t eff_sink_pdo_mask
 03h
 
uint8_t src_pdo_select
 04h
 
uint8_t sink_pdo_select
 05h
 
uint8_t pd_ctrl
 06h
 
uint8_t byte_7_reserved
 07h
 
uint32_t pd_status
 08h
 
uint8_t type_c_status
 0Ch
 
uint16_t bus_voltage
 0Dh
 
uint8_t byte_14_reserved
 0Fh
 
uint32_t cur_pdo
 10h
 
uint32_t cur_rdo
 14h
 
uint32_t cable_vdo
 18h
 
uint32_t alt_mode
 1Ch
 
uint32_t app_hw
 20h
 
uint32_t event_mask
 24h
 
uint8_t swap_response
 28h
 
uint8_t active_ec_modes
 29h
 
uint8_t vdm_ec_ctrl
 2Ah
 
uint8_t alt_mode_status
 2Bh
 
uint8_t bc12_control
 2Ch
 
uint8_t byte_45_reserved [3]
 2Dh
 
uint8_t pd_cmd_timeout
 30h
 
uint8_t frs_enable
 31h
 
uint8_t vbus_cfet_ctrl
 32h
 
uint8_t bc12_status
 33h
 
uint32_t intr_status
 34h
 
uint8_t port_user_reg [24]
 38h
 
uint32_t act_cbl_vdo_2
 50h
 
uint32_t sink_rdo_request
 54h
 
uint8_t bus_current
 58h
 
uint8_t byte_89_reserved [3]
 59h
 
uint8_t host_cap_control
 5Ch
 
uint8_t byte_93_reserved [3]
 5Dh
 
uint8_t dfp_alt_mode_mask
 60h
 
uint8_t ufp_alt_mode_mask
 61h
 
uint16_t custom_alt_mode_svid
 62h
 
uint8_t epr_src_pdo_select
 64h
 
uint8_t epr_snk_pdo_select
 65h
 
uint8_t byte_102_reserved [2]
 66h
 
uint32_t sink_pps_avs_ctrl
 68h
 
uint8_t moisture_status
 6Ch