View previous topic :: View next topic |
Author |
Message |
ccowley
Joined: 12 Sep 2009 Posts: 19
|
Quick INT_RDA question |
Posted: Fri Oct 17, 2014 7:53 am |
|
|
If you have a microcontroller (24EP512GU810 in this case) with two hardware uarts in operation, do they both receive data through #int_rda interupt? It looks that way to me, but I was wondering if that is actually the case or if there is a separate interrupt for the uart2.
Thanks,
Carl |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19539
|
|
Posted: Fri Oct 17, 2014 8:37 am |
|
|
INT_RDA2 |
|
|
ccowley
Joined: 12 Sep 2009 Posts: 19
|
|
Posted: Fri Oct 17, 2014 8:45 am |
|
|
Ahhh, thank you! I saw that in the 24HJ128GP504.h file, but I wasn't sure that was how it worked. Thanks for the clarification. I'm not sure why the Wizard didn't include that when the use of both ports was specified. It appears the Wizard gives you a place to start from, but doesn't fill in all the blanks for you.
Thanks again,
Carl |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19539
|
|
Posted: Fri Oct 17, 2014 8:47 am |
|
|
The wizard very much 'does not do everything'. It will also often get things wrong..... |
|
|
|