On i.MX6UL I need to create one unique class for more UARTs. One RX ISR and one TX ISR should serve for all UARTs. However a need to recognise a source of interrupt inside of ISR to be able to forward data into/from relevant buffer. Question is: How can I recognise the source of invoked interrupt inside of ISR in this case?
Thanks for answer in advance.
Best regards Marek