Hi Espressif
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
API to disarm hw_timer ?
Re: API to disarm hw_timer ?
Postby ESP_Faye » Wed May 11, 2016 8:45 pm
Hi,
Please try this
Thanks for your interest in ESP8266 !
Please try this
Code: Select all
void hw_timer_stop()
{
RTC_CLR_REG_MASK(FRC1_CTRL_ADDRESS,FRC1_ENABLE_TIMER);
}
Thanks for your interest in ESP8266 !
Who is online
Users browsing this forum: No registered users and 236 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.