This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

drv_uart vs uart_app functions

Hi,

Are the functions implemented in drv_uart and uart_app even related to each other? I noticed that uart_app implements only some simple functions. Can someone please explain to me the differences between these implementations? Can I freely call the functions from either of them? Are they any different from the blocking point of view?

-vala

Parents
  • I guess I found my answer. app_uart functions implement the basic UART functions which do not handle the FIFO issues. On the other hand, drv_uart manages the FIFO properly. Additionally, If I understood correctly from the other posts, there are some functions with the same name but different implementations in these two different source files and therefore there have to be only one of them added to the project. Please correct me if I am wrong.

    -Vala

Reply
  • I guess I found my answer. app_uart functions implement the basic UART functions which do not handle the FIFO issues. On the other hand, drv_uart manages the FIFO properly. Additionally, If I understood correctly from the other posts, there are some functions with the same name but different implementations in these two different source files and therefore there have to be only one of them added to the project. Please correct me if I am wrong.

    -Vala

Children
No Data
Related