/* STUSB1602 checks the VBUS_DISCHARGE_CTRL State (EN or DIS) (bit7 0x26  */
VBUS_Discharge_State_TypeDef STUSB1602_VBUS_Discharge_State_Get(uint8_t Addr)
/* STUSB1602 checks the VBUS_DISCHARGE_CTRL State (EN or DIS) (bit7 0x26  */
VBUS_Discharge_State_TypeDef STUSB1602_VBUS_Discharge_State_Get(uint8_t Addr)
{    
   STUSB1602_VBUS_DISCHARGE_CTRL_RegTypeDef reg;
   STUSB1602_ReadReg(&reg.d8, Addr, STUSB1602_VBUS_DISCHARGE_CTRL_REG, 1); 
   return (VBUS_Discharge_State_TypeDef)(reg.b.VBUS_DISCHARGE_EN);   
}