I know the things like the TWI allow you to send additional data when you instantiate a transacation. Is there any way to do a similar thing with UART?
I'd like to pass a pointer to a struct which would then enable me to read the UART data response that was received in main.c UART interrupt handler from within the other source file where the UART transaction originated.
Is there a way of doing this? I've tried by using an extern instead but not had much luck so far.