Call Function With External Stack - Espressif ESP32-S2 Programming Manual

Table of Contents

Advertisement

Chapter 2. API Reference
• stream: stream (such as stdout) to dump the information to
bool
esp_timer_is_active(esp_timer_handle_t
Returns status of a timer, active or not.
This function is used to identify if the timer is still active or not.
Return
• 1 if timer is still active
• 0 if timer is not active.
Parameters
• timer: timer handle created using esp_timer_create
Structures
struct esp_timer_create_args_t
Timer configuration passed to esp_timer_create.
Public Members
esp_timer_cb_t
callback
Function to call when timer expires.
void *arg
Argument to pass to the callback.
esp_timer_dispatch_t
Call the callback from task or from ISR.
const char *name
Timer name, used in esp_timer_dump function.
bool skip_unhandled_events
Skip unhandled events for periodic timers.
Type Definitions
typedef struct esp_timer *esp_timer_handle_t
Opaque type representing a single esp_timer.
typedef void (*esp_timer_cb_t)(void *arg)
Timer callback function type.
Parameters
• arg: pointer to opaque user-specific data
Enumerations
enum esp_timer_dispatch_t
Method for dispatching timer callback.
Values:
ESP_TIMER_TASK
Callback is called from timer task.
ESP_TIMER_MAX
Count of the methods for dispatching timer callback.

2.6.15 Call function with external stack

Espressif Systems
dispatch_method
Submit Document Feedback
timer)
998
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Table of Contents

Save PDF