On Wed, Mar 20, 2019, 4:48 AM 787562067 <googch...@qq.com> wrote:

> Hi all
> I want to read usart variable string, but only find an API  int
> usart_read_polled(int minor)
> <https://github.com/RTEMS/rtems/blob/4af18b34f4193eb1ffa0415d50f952aa781ef2da/bsps/arm/stm32f4/console/usart.c>
> 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@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to