Skip to content
Snippets Groups Projects
Commit 8076f393 authored by Gunar Schorcht's avatar Gunar Schorcht Committed by Schorcht
Browse files

cpu/esp8266: doc fixes for esp_task thread

parent 09da830a
No related branches found
No related tags found
No related merge requests found
...@@ -715,10 +715,10 @@ necessary, for example, if you want to use the built-in WLAN module. The ...@@ -715,10 +715,10 @@ necessary, for example, if you want to use the built-in WLAN module. The
SDK is also used automatically when software timers are used by activating SDK is also used automatically when software timers are used by activating
the `esp_sw_timer` module. the `esp_sw_timer` module.
Internally, the SDK uses its own priority-based multitasking, the **ETS**, Internally, the SDK uses its own priority-based multitasking sytsem,
to handle hardware components such as the WiFi interface, or to implement the **ETS**, to handle hardware components such as the WiFi interface, or to
event-driven functions such as software timers. ETS periodically executes implement event-driven functions such as software timers. ETS periodically
all ETS tasks with pending events in an infinite loop with the ROM executes all ETS tasks with pending events in an infinite loop with the ROM
function `ets_run`. function `ets_run`.
ETS doesn't process interrupts directly in interrupt service routines. ETS doesn't process interrupts directly in interrupt service routines.
...@@ -726,8 +726,8 @@ Instead, they use the `ets_post` ROM function to send an event to one of the ...@@ -726,8 +726,8 @@ Instead, they use the `ets_post` ROM function to send an event to one of the
ETS tasks, which then processes the interrupts asynchronously. Context ETS tasks, which then processes the interrupts asynchronously. Context
switches are not possible in interrupt service routines. switches are not possible in interrupt service routines.
To use SDK functions and keep the system alive, ETS tasks with pending have to To use SDK functions and keep the system alive, ETS tasks with pending events
be handled. For that purpose have to be handled. For that purpose
- the `ets_task_func` RIOT thread with highest possible priority is used - the `ets_task_func` RIOT thread with highest possible priority is used
- the ROM functions `ets_run` and `ets_post` are overwritten. - the ROM functions `ets_run` and `ets_post` are overwritten.
......
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
*/ */
/* /*
* Internally, the SDK uses its own priority-based multitasking, the *ETS*, * Internally, the SDK uses its own priority-based multitasking system,
* to handle hardware components such as the WiFi interface, or to implement * the *ETS*, to handle hardware components such as the WiFi interface, or to
* event-driven functions such as software timers. ETS periodically executes * implement event-driven functions such as software timers. ETS periodically
* all ETS tasks with pending events in an infinite loop with the ROM * executes all ETS tasks with pending events in an infinite loop with the ROM
* function *ets_run*. * function *ets_run*.
* *
* ETS doesn't process interrupts directly in interrupt service routines. * ETS doesn't process interrupts directly in interrupt service routines.
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
* ETS tasks, which then processes the interrupts asynchronously. Context * ETS tasks, which then processes the interrupts asynchronously. Context
* switches are not possible in interrupt service routines. * switches are not possible in interrupt service routines.
* *
* To use SDK functions and keep the system alive, ETS tasks with pending have * To use SDK functions and keep the system alive, ETS tasks with pending
* to be handled. For that purpose * events have to be handled. For that purpose
* *
* - the *ets_task_func* RIOT thread with highest possible priority is used * - the *ets_task_func* RIOT thread with highest possible priority is used
* - the ROM functions *ets_run* and *ets_post* are overwritten. * - the ROM functions *ets_run* and *ets_post* are overwritten.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment