Hi everyone, I would like to start using UART on my device which has a TIVA C and TI-RTOS.
I have already used many features of TIVA and RTOS so I am quite familiar with RTOS , drivers...ad so on.
As usual I started looking documentations and examples but there is something I don't understand and I would like to have some directions or links to a clarifying example.
I want to use callbacks , so every time I receive or send something through UART I use the callbacks to process data. I saw that I can set the callbacks in the params like this:
uartParams.readCallback = UART_Callbk_read;
uartParams.writeCallback = UART_Callbk_write;
I see that I can use an interrupt (#define INT_UART1_TM4C123 22 // UART1) and define a interrupt callback in the *cfg of the RTOS (as I did for other features).
How this callback is related to the uartParams.readCallback and uartParams.writeCallback ?
I did not find an example that show this configuration?
if I define UART_Callbk_read and UART_Callbk_write inside the parameter where should I implement them?
Thanks
G.