usart read variable string

Joel Sherrill joel at
Wed Mar 20 11:48:45 UTC 2019

On Wed, Mar 20, 2019, 4:48 AM 787562067 <googcheng at> wrote:

> Hi all
> I want to read usart variable string, but only find an API  int
> usart_read_polled(int minor)
> <>
> is there a simple method to do this like using the idle interrupt

Normally applications do not use device specific methods. They use either
the normal POSIX methods like read() with termios for settings or the
printk() family of methods.

Under the hood, the implementation will either be interrupt driven or
polled at each clock tick.

> _______________________________________________
> users mailing list
> users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list