CAT2 Peripheral Driver Library
cy_stc_usbpd_legacy_charging_state_t Struct Reference

Description

Structure for legacy charging state machine.

Data Fields

bool is_active
 Whether the state machine is active. More...
 
bool vdmsrc_on
 Whether the VDM_SRC supply has been turned ON. More...
 
uint8_t vdmsrc_lv_cnt
 Number of times the VDM_SRC output has been detected as low. More...
 

Field Documentation

◆ is_active

bool cy_stc_usbpd_legacy_charging_state_t::is_active

Whether the state machine is active.

◆ vdmsrc_on

bool cy_stc_usbpd_legacy_charging_state_t::vdmsrc_on

Whether the VDM_SRC supply has been turned ON.

◆ vdmsrc_lv_cnt

uint8_t cy_stc_usbpd_legacy_charging_state_t::vdmsrc_lv_cnt

Number of times the VDM_SRC output has been detected as low.