keil_examples/USBHostLite/UsbHost/Host/usbhost_lpc17xx.c
/*
**************************************************************************************************************
*                                         INITIALIZE THE TRANSFER DESCRIPTOR
*
* Description: This function initializes transfer descriptor
*
* Arguments  : Pointer to TD structure
*
* Returns    : None
*
**************************************************************************************************************
*/
INITIALIZE THE TRANSFER DESCRIPTOR
Description: This function initializes transfer descriptor

Arguments  : Pointer to TD structure

Returns    : None
INITIALIZE THE TRANSFER DESCRIPTOR Description : This function initializes transfer descriptor Arguments : Pointer to TD structure Returns : None
void  Host_TDInit (volatile  HCTD *td)
{
    td->Control    = 0;
    td->CurrBufPtr = 0;
    td->Next       = 0;
    td->BufEnd     = 0;
}
void Host_TDInit ( volatile HCTD * td ) { td -> Control = 0 ; td -> CurrBufPtr = 0 ; td -> Next = 0 ; td -> BufEnd = 0 ; }
INITIALIZE THE TRANSFER DESCRIPTOR
Description: This function initializes transfer descriptor
INITIALIZE THE TRANSFER DESCRIPTOR Description : This function initializes transfer descriptor