ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
tusb_tasks.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#pragma once
8
9#include "esp_err.h"
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
27
35
36#ifdef __cplusplus
37}
38#endif
int esp_err_t
Definition esp_err.h:21
esp_err_t tusb_run_task(void)
This helper function creates and starts a task which wraps tud_task().
Definition tusb_tasks.c:29
esp_err_t tusb_stop_task(void)
This helper function stops and destroys the task created by tusb_run_task().
Definition tusb_tasks.c:40