Page 1 of 1

Use GPIO API from IRAM ISR

Posted: Mon Jan 08, 2018 12:17 pm
by dejan.ns
I am writing a OneWire protocol handling task and I am using a timer ISR with IRAM attribute set to achieve precise timing (order of uS) needed to handle One Wire protocol.
Can I use regular GPIO API functions inside IRAM ISR?
If not, how can I read, write and change direction of the GPIO (on the fly, from input to output and vice versa) by accessing the ESP32 registers directly?

Re: Use GPIO API from IRAM ISR

Posted: Mon Jan 08, 2018 12:46 pm
by WiFive

Re: Use GPIO API from IRAM ISR

Posted: Mon Jan 08, 2018 1:38 pm
by ESP_igrr