Пример #1
0
void CanIf_RxIndication( uint8 Hrh, Can_IdType CanId, uint8 CanDlc, const uint8 *CanSduPtr )
{
    tm_printf("Hrh = %d,CanId = %d:\r\n",(int)Hrh,(int)CanId);
    while(CanDlc > 0)
    {
        tm_putchar(*CanSduPtr++);
        CanDlc--;
    } 
    tm_putstring("\r\n");    
}
Пример #2
0
/*
 * Low level output using monitor
 */
LOCAL void sys_write( const char *s, int len )
{
	while ( len-- > 0 ) {
		tm_putchar(*s++);
	}
}
Пример #3
0
EXPORT int _PutChar( int c )
{
	return ( tm_putchar(c) < 0 )? -1: 1;
}