EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1009 background imageLoading...
Page #1009 background image
Chapter 2. API Reference
stream: stream (such as stdout) to dump the information to
bool esp_timer_is_active(esp_timer_handle_t timer)
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 dispatch_method
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 998
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish