Any tutorial on how to use pin interrupts?
Thanks!
gpio_intr_handler_register()
Re: gpio_intr_handler_register()
Postby muris » Thu Nov 27, 2014 8:37 pm
Never mind, I found something here: https://github.com/willemwouters/ESP826 ... r/io/key.c
Re: gpio_intr_handler_register()
Postby costaud » Sun Nov 30, 2014 2:03 am
guan wrote:Do we know if there are interrupts on every GPIO?
All the GPIOs share a same interrupt source , in the interrupt handler, read the (GPIO_STATUS_ADDRESS) register to decide which GPIO trigger the interrupt signal.
uint32 gpio_status = GPIO_REG_READ(GPIO_STATUS_ADDRESS);
Who is online
Users browsing this forum: No registered users and 211 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.