53 len =
mcu_snprintf(buf, 32,
"data from uart1: %s\n", &ch);
Intel MCU API definition.
int uart_read(unsigned char port, unsigned char *buf, unsigned char len)
void debug_print(int level, const char *fmt,...)
int host_send(unsigned char *buf, int length)
int mcu_snprintf(char *buf, unsigned int size, const char *fmt,...)
Intel MCU API error code definition.
int uart_setup(unsigned char port, int baudrate)