Page 1 of 1

uart receive interrupt

Posted: Wed Dec 28, 2016 11:11 am
by kamesh
hi,

How to enable uart receive interrupt?

Re: uart receive interrupt

Posted: Wed Dec 28, 2016 1:15 pm
by WiFive
If you use UART driver it will be enabled for you. Otherwise you can refer to functions http://esp-idf.readthedocs.io/en/latest/api/uart.html

Re: uart receive interrupt

Posted: Wed Dec 28, 2016 2:01 pm
by kamesh
hi,

I used uart driver but i could not find any interrupt handler in that. pls guide me how to enable receive interupt and where the handler function reside in driver.

Re: uart receive interrupt

Posted: Wed Dec 28, 2016 2:49 pm
by WiFive

Re: uart receive interrupt

Posted: Wed Dec 28, 2016 2:57 pm
by jumjum123
Come on,
you could not find uart_isr_register and uart_rx_intr_handler_default in components/driver/uart.c ?