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
12
extern
"C"
{
13
#endif
14
26
esp_err_t
tusb_run_task
(
void
);
27
34
esp_err_t
tusb_stop_task
(
void
);
35
36
#ifdef __cplusplus
37
}
38
#endif
esp_err.h
esp_err_t
int esp_err_t
Definition
esp_err.h:21
tusb_run_task
esp_err_t tusb_run_task(void)
This helper function creates and starts a task which wraps tud_task().
Definition
tusb_tasks.c:29
tusb_stop_task
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
components
espressif__esp_tinyusb
include
tusb_tasks.h
Generated by
1.16.1