Skip to content

Commit e451a9b

Browse files
committed
add function for deinit lwip timers
1 parent 759a01b commit e451a9b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

docs/en/api-guides/lwip.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,16 @@ The default lwIP implementation is to have these timers enabled all the time, ev
358358

359359
To return to the default lwIP behaviour (always-on timers), disable :ref:`CONFIG_LWIP_TIMERS_ONDEMAND`.
360360

361+
Lwip timers API
362+
+++++++++++++++
363+
364+
When users are not using WiFi, these APIs provide users with the ability to turn off LwIP timer to reduce power consumption.
365+
366+
The following API functions are supported. For full details see :component_file:`lwip/lwip/src/include/lwip/timeouts.h`.
367+
368+
- ``sys_timeouts_init()``
369+
- ``sys_timeouts_deinit()``
370+
361371
Abort TCP connections when IP changes
362372
+++++++++++++++++++++++++++++++++++++
363373

0 commit comments

Comments
 (0)