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"); }
/* * Low level output using monitor */ LOCAL void sys_write( const char *s, int len ) { while ( len-- > 0 ) { tm_putchar(*s++); } }
EXPORT int _PutChar( int c ) { return ( tm_putchar(c) < 0 )? -1: 1; }