VSF Documented
vsf_usbh_BTHCI.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18#ifndef __VSF_USBH_BTHCI_H__
19#define __VSF_USBH_BTHCI_H__
20
21/*============================ INCLUDES ======================================*/
23
24#if VSF_USE_USB_HOST == ENABLED && VSF_USBH_USE_BTHCI == ENABLED
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30/*============================ MACROS ========================================*/
31/*============================ MACROFIED FUNCTIONS ===========================*/
32/*============================ TYPES =========================================*/
33/*============================ GLOBAL VARIABLES ==============================*/
34
36
37/*============================ PROTOTYPES ====================================*/
38
39// type: 0x01: command_data, 0x02: acl, 0x03: sco, 0x04: event
41bool vk_usbh_bthci_can_send(void *dev, uint8_t type);
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif // VSF_USE_USB_HOST && VSF_USBH_USE_BTHCI
48#endif // __VSF_USBH_BTHCI_H__
vsf_err_t
Definition __type.h:42
Definition vsf_usbh.h:268
unsigned short uint16_t
Definition stdint.h:7
unsigned char uint8_t
Definition stdint.h:5
vk_av_control_type_t type
Definition vsf_audio.h:170
uint32_t size
Definition vsf_memfs.h:50
const vk_usbh_class_drv_t vk_usbh_bthci_drv
Definition vsf_usbh_BTHCI.c:160
bool vk_usbh_bthci_can_send(void *dev, uint8_t type)
Definition vsf_usbh_BTHCI.c:454
vsf_err_t vk_usbh_bthci_send(void *dev, uint8_t type, uint8_t *packet, uint16_t size)
Definition vsf_usbh_BTHCI.c:466