@web-font-path: "roboto-debian.css";
Menu Toggle
v2.0.0 (RP2040)
Loading...
Searching...
No Matches
btstack_cyw43.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Raspberry Pi (Trading) Ltd.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
7
#ifndef _PICO_BTSTACK_CYW43_H
8
#define _PICO_BTSTACK_CYW43_H
9
10
#include "
pico/async_context.h
"
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
24
/*
25
* \brief Perform initialisation of BTstack/CYW43 integration
26
* \ingroup pico_btstack_cyw43
27
*
28
* \param context the async_context instance that provides the abstraction for handling asynchronous work.
29
* \return true on success or false an error
30
*/
31
bool
btstack_cyw43_init(
async_context_t
*context);
32
33
/*
34
* \brief De-initialise BTstack/CYW43 integration
35
* \ingroup pico_btstack_cyw43
36
*
37
* \param context the async_context the btstack_cyw43 support was added to via \ref btstack_cyw43_init
38
*/
39
void
btstack_cyw43_deinit(
async_context_t
*context);
40
41
#ifdef __cplusplus
42
}
43
#endif
44
#endif
async_context.h
async_context
Base structure type of all async_contexts. For details about its use, see pico_async_context.
Definition
async_context.h:179