/* STUSB1602 checks the VCONN_DISCHARGE status on CC (bit4 0x18  */
VCONN_Discharge_Status_TypeDef STUSB1602_VCONN_Discharge_Status_Get(uint8_t Addr)
/* STUSB1602 checks the VCONN_DISCHARGE status on CC (bit4 0x18  */
VCONN_Discharge_Status_TypeDef STUSB1602_VCONN_Discharge_Status_Get(uint8_t Addr)
{
    STUSB1602_CC_CAPABILITY_CTRL_RegTypeDef reg;
    STUSB1602_ReadReg(&reg.d8, Addr, STUSB1602_CC_CAPABILITY_CTRL_REG, 1); 
    return (VCONN_Discharge_Status_TypeDef)(reg.b.CC_VCONN_DISCHARGE_EN);
}