/* STUSB1602 checks the VCONN Role SWAP status (bit1 0x18  */
VCONN_Role_Swap_TypeDef STUSB1602_VCONN_Role_Swap_Status_Get(uint8_t Addr)
/* STUSB1602 checks the VCONN Role SWAP status (bit1 0x18  */
VCONN_Role_Swap_TypeDef STUSB1602_VCONN_Role_Swap_Status_Get(uint8_t Addr)
{
    STUSB1602_CC_CAPABILITY_CTRL_RegTypeDef reg;
    STUSB1602_ReadReg(&reg.d8, Addr, STUSB1602_CC_CAPABILITY_CTRL_REG, 1); 
    return (VCONN_Role_Swap_TypeDef)(reg.b.VCONN_SWAP_EN);
}