Platform/ECM3532/DSP/hw/csp/ecm3532/src/eta_csp_io.c
/***************************************************************************/
/**
 *
 *  etaPuts - user callable etaPuts function.
 *
 *  @param string to print
 *
 *  Note: This version does not call putc so it can be redirected seperately
 *        from printf.
 *
 ******************************************************************************/
user callable etaPuts function.
@param string to print

This version does not call putc so it can be redirected seperately
from printf.
user callable etaPuts function . @param string to print This version does not call putc so it can be redirected seperately from printf .
void
etaPuts(const char *str)
{
    char x;
    if(g_bEtaCspIoVerbose)
    {
#ifdef PUTS_VIA_M3_MBOX
        eta_csp_printviam3_start_message();
#endif
        while(x = *str++)
        {
            if(bPrintViaM3Mbox)
            {
                eta_csp_printviam3_putc(x);
            }
            EtaCspIoDebugUartPutc(x);
            if(bPrintViaDspUart)
            {
                EtaCspIoDebugUartPutc(x);
            }
        }
#ifdef PUTS_VIA_M3_MBOX
        eta_csp_printviam3_end_message();
#endif
    }
}
void etaPuts ( const char * str ) { char x ; if ( g_bEtaCspIoVerbose ) { #ifdef PUTS_VIA_M3_MBOX eta_csp_printviam3_start_message ( ) ; #endif while ( x = * str ++ ) { if ( bPrintViaM3Mbox ) { eta_csp_printviam3_putc ( x ) ; } EtaCspIoDebugUartPutc ( x ) ; if ( bPrintViaDspUart ) { EtaCspIoDebugUartPutc ( x ) ; } } #ifdef PUTS_VIA_M3_MBOX eta_csp_printviam3_end_message ( ) ; #endif } }
etaPuts - user callable etaPuts function.
etaPuts - user callable etaPuts function .