Function gx_uart_can_read


int gx_uart_can_read(int port)

判断 fifo 中是否有数据

参数

port -- 端口

Returns 0

没有数据

Returns 1

有数据

返回

int 结果