/* STUSB1602 Checks Attach State Transition Reg (Bit0 0x0D  */
Attach_State_Trans_TypeDef STUSB1602_Attach_State_Trans_Get(uint8_t Addr)
/* STUSB1602 Checks Attach State Transition Reg (Bit0 0x0D  */
Attach_State_Trans_TypeDef STUSB1602_Attach_State_Trans_Get(uint8_t Addr)
{
    STUSB1602_CC_DETECTION_STATUS_TRANS_RegTypeDef reg;
    STUSB1602_ReadReg(&reg.d8, Addr, STUSB1602_CC_DETECTION_STATUS_TRANS_REG, 1); 
    return (Attach_State_Trans_TypeDef)(reg.b.ATTACH_STATE_TRANS);
}