Menu Toggle
v2.3.1 (RP2350)
Toggle main menu visibility
Loading...
Searching...
No Matches
btstack_run_loop_async_context.h
1
/*
2
* Copyright (c) 2023 Raspberry Pi (Trading) Ltd.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
7
#ifndef _PICO_BTSTACK_RUN_LOOP_ASYNC_CONTEXT_H
8
#define _PICO_BTSTACK_RUN_LOOP_ASYNC_CONTEXT_H
9
10
#include "btstack_run_loop.h"
11
#include "
pico/async_context.h
"
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
24
const
btstack_run_loop_t *
btstack_run_loop_async_context_get_instance
(async_context_t *context);
25
30
void
btstack_run_loop_async_context_deinit
(
void
);
31
32
#ifdef __cplusplus
33
}
34
#endif
35
#endif
async_context.h
btstack_run_loop_async_context_deinit
void btstack_run_loop_async_context_deinit(void)
Deinitialize the BTstack state to stop it using the async_context API.
Definition
btstack_run_loop_async_context.c:132
btstack_run_loop_async_context_get_instance
const btstack_run_loop_t * btstack_run_loop_async_context_get_instance(async_context_t *context)
Initialize and return the singleton BTstack run loop instance that integrates with the async_context ...
Definition
btstack_run_loop_async_context.c:125