/* STUSB1602 sets the VCONN_UVLO_Threshold Enabling bit (bit6 0x20  */
STUSB1602_StatusTypeDef STUSB1602_VCONN_UVLO_Thresh_Status_Set(uint8_t Addr, VCONN_UVLO_Threshold_TypeDef thr)
/* STUSB1602 sets the VCONN_UVLO_Threshold Enabling bit (bit6 0x20  */
STUSB1602_StatusTypeDef STUSB1602_VCONN_UVLO_Thresh_Status_Set(uint8_t Addr, VCONN_UVLO_Threshold_TypeDef thr)
{
    STUSB1602_StatusTypeDef status = STUSB1602_OK;
    STUSB1602_VCONN_MONITORING_CTRL_RegTypeDef reg;
    STUSB1602_ReadReg(&reg.d8, Addr, STUSB1602_VCONN_MONITORING_CTRL_REG, 1); 
    reg.b.VCONN_UVLO_THRESHOLD = thr;
    status = STUSB1602_WriteReg(&reg.d8, Addr, STUSB1602_VCONN_MONITORING_CTRL_REG, 1);
    return status;
}