Hi
I want to receive data through UART RX interrupt.
--> An interruption occurs to notify me when one character(byte) is received, and i store it to my memory buffer
The example project I used is "examples/peripheral/uart/main.c"
But this example seems to have only polling mode way.
How can I use the interrupt method to receive data one character by character?
Can you give me some example?
thanks!!
uart initi:
|
const app_uart_comm_params_t comm_params = APP_UART_FIFO_INIT(&comm_params, |
while loop
|
while (true) if (cr == 'q' || cr == 'Q') } |