ISR parameter
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2005-10-03 1:21 AM
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2005-10-03 1:21 AM
Posted on October 03, 2005 at 10:21
Hello,
I'd like to build an ascii frame with several ASCII char received on an UART. I want to process like this : UART interrupts the main() every time a char is received. Every ASCII char should be saved in a chart. When the whole frame is received (detected with a end of frame marker (ETX) ), I decode the message in the main() function. My question is : where can I declare the Message[] chart (in main(), in the startup file,...) ? How can I pass the start address of the chart to the UART interrupt subroutine ? Thanks for your advises, Manu