uart receive interrupt

kamesh
Posts: 35
Joined: Sat Aug 06, 2016 5:14 am

uart receive interrupt

Postby kamesh » Wed Dec 28, 2016 11:11 am

hi,

How to enable uart receive interrupt?

WiFive
Posts: 2979
Joined: Tue Dec 01, 2015 7:35 am

Re: uart receive interrupt

Postby WiFive » Wed Dec 28, 2016 1:15 pm

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

kamesh
Posts: 35
Joined: Sat Aug 06, 2016 5:14 am

Re: uart receive interrupt

Postby kamesh » Wed Dec 28, 2016 2:01 pm

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.

WiFive
Posts: 2979
Joined: Tue Dec 01, 2015 7:35 am

Re: uart receive interrupt

Postby WiFive » Wed Dec 28, 2016 2:49 pm


jumjum123
Posts: 197
Joined: Mon Oct 17, 2016 3:11 pm

Re: uart receive interrupt

Postby jumjum123 » Wed Dec 28, 2016 2:57 pm

Come on,
you could not find uart_isr_register and uart_rx_intr_handler_default in components/driver/uart.c ?

Who is online

Users browsing this forum: No registered users and 39 guests