MCPcopy Create free account
hub / github.com/SmingHub/Sming / enable_alarm

Method enable_alarm

Sming/Arch/Esp32/Components/driver/hw_timer.cpp:108–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 void __forceinline enable_alarm(bool state)
109 {
110#if ESP_IDF_VERSION_MAJOR < 5
111 timer_ll_set_alarm_enable(dev, index, state);
112#else
113 timer_ll_enable_alarm(dev, index, state);
114#endif
115 }
116
117 void __forceinline enable_auto_reload(bool state)
118 {

Callers 1

timerIsrMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected