ESP8266 Developer Zone The Official ESP8266 Forum 2016-05-11T20:45:52+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2142 2016-05-11T20:45:52+08:00 2016-05-11T20:45:52+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2142&p=6831#p6831 <![CDATA[Re: API to disarm hw_timer ?]]>
Please try this

Code:

void  hw_timer_stop()
{
    RTC_CLR_REG_MASK(FRC1_CTRL_ADDRESS,FRC1_ENABLE_TIMER);   
}


Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Wed May 11, 2016 8:45 pm


]]>
2016-05-09T14:54:25+08:00 2016-05-09T14:54:25+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2142&p=6763#p6763 <![CDATA[API to disarm hw_timer ?]]>
Is there a way to disarm HW timer before it is triggered ? I mean either there should be an API similar to "os_timer_disarm" or via setting a specific value through hw_timer_arm(SOME VALUE_TO_DISARM_HW_TIMER) .

Please someone enlighten me if this is already possible.

thanks

Statistics: Posted by Guest — Mon May 09, 2016 2:54 pm


]]>