Hello,
I am trying to use one callback function to receive RX events using all 4 UART channels on the S32k3X4EVB-Q257.
I then need to determine which channel the message came in on.
Has anyone done this? Possibly using the void userData pointer parameter?
Or any other way.
I cannot use separate callbacks.
Thanks in advance,
-Sean L
Solved! Go to Solution.
Hi Sean,
I can see in the callback typedef that there's HwInstance parameter, so you should have information about the channel:
Regards,
Lukas
Hi Sean,
I can see in the callback typedef that there's HwInstance parameter, so you should have information about the channel:
Regards,
Lukas
Thanks for your reply.
I was able to accomplish this by using the HwInstance, and the Event type.
Thanks!