UART interrupt
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-10-18 9:57 PM
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-10-18 9:06 PM
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,Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-10-18 9:57 PM
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