keil_examples/USBHostLite/UsbHost/Uart/usbhost_uart.c
/*
**************************************************************************************************************
*                                        PRINT FORMATTED STRING
*
* Description: This function is used to print formatted string. This function takes variable length arguments
*
* Arguments  : variable length arguments
*
* Returns    : None
*
**************************************************************************************************************
*/
PRINT FORMATTED STRING
Description: This function is used to print formatted string. This function takes variable length arguments

Arguments  : variable length arguments

Returns    : None
PRINT FORMATTED STRING Description : This function is used to print formatted string . This function takes variable length arguments Arguments : variable length arguments Returns : None
void  UART_Printf (const  uint8_t *format, ...)
{
    static  uint8_t  buffer[40 + 1];
            va_list     vArgs;
    va_start(vArgs, format);
    vsprintf((char *)buffer, (char const *)format, vArgs);
    va_end(vArgs);
    UART_PrintStr((uint8_t *) buffer);
}
void UART_Printf ( const uint8_t * format , ... ) { static uint8_t buffer [ 40 + 1 ] ; va_list vArgs ; va_start ( vArgs , format ) ; vsprintf ( ( char * ) buffer , ( char const * ) format , vArgs ) ; va_end ( vArgs ) ; UART_PrintStr ( ( uint8_t * ) buffer ) ; }
PRINT FORMATTED STRING
Description: This function is used to print formatted string.
PRINT FORMATTED STRING Description : This function is used to print formatted string .