Skip to main content
Visitor II
October 19, 2005
Question

UART interrupt

  • October 19, 2005
  • 2 replies
  • 658 views
Posted on October 19, 2005 at 06:57

UART interrupt

    This topic has been closed for replies.

    2 replies

    Visitor II
    October 19, 2005
    Posted on October 19, 2005 at 06:06

    Hello,

    Do we need to clear the UART IT bit when returning from UART ISR to main() ?

    With the standard library exemple UART_INT, nothing is done in main except init of uart and eic, so is it possible to exit the ISR ?

    thx for your help,

    Visitor II
    October 19, 2005
    Posted on October 19, 2005 at 06:57

    Quote:

    In the example in the standard libray uses the Tx Empty interrupt, this interrupt is diabled in the UART ISR. The UART interrupts flags are cleared

    - Rx BufNotEmpty is cleared when you read one byte from the Rx bufer

    that's what I missed

    Thank tou for your help