示例#1
0
TI_STATUS txnQ_DisconnectBus (TI_HANDLE hTxnQ)
{
    TTxnQObj *pTxnQ = (TTxnQObj*) hTxnQ;

    return busDrv_DisconnectBus (pTxnQ->hBusDrv);
}
/** 
 * \fn     txnQ_DisconnectBus
 * \brief  Disconnect bus driver
 * 
 * Called by upper layer initialization function.
 * Disconnect the bus driver.
 *  
 * \note   
 * \param  hTxnQ      - The module's object
 * \return RES_OK / RES_ERROR
 * \sa     
 */ 
EMcpfRes txnQ_DisconnectBus (const handle_t hTxnQ)
{
    TTxnQObj *pTxnQ = (TTxnQObj*) hTxnQ;

    return busDrv_DisconnectBus (pTxnQ->hBusDrv);
}