mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 10:03:50 +01:00
cpu/esp8266: doc fixes for esp_task thread
This commit is contained in:
parent
09da830a2a
commit
8076f393f3
@ -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
|
|||||||
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 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 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 @@
|
|||||||
* 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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user