VSF Documented
driver.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#if defined(__VSF_HEADER_ONLY_SHOW_ARCH_INFO__) || defined(__VSF_HAL_SHOW_VENDOR_INFO__)
19
20# include "__device.h"
21
22#else
23
24#ifndef __HAL_DRIVER_LUAT_AIR05_H__
25#define __HAL_DRIVER_LUAT_AIR05_H__
26
27/*============================ INCLUDES ======================================*/
28
29# include "hal/vsf_hal_cfg.h"
30# include "./device.h"
31
32# include "./uart/uart.h"
33# include "./usb/usb.h"
34
35/*============================ MACROFIED FUNCTIONS ===========================*/
36/*============================ TYPES =========================================*/
37/*============================ INCLUDES ======================================*/
38/*============================ TYPES =========================================*/
39/*============================ INCLUDES ======================================*/
40
41#if VSF_HAL_USE_USART == ENABLED
42# define VSF_USART_CFG_REIMPLEMENT_TYPE_MODE ENABLED
43# define VSF_USART_CFG_REIMPLEMENT_TYPE_IRQ_MASK ENABLED
45
46# define VSF_USART_CFG_DEC_PREFIX __vsf_hw
47# define VSF_USART_CFG_DEC_UPCASE_PREFIX __VSF_HW
48# define VSF_USART_CFG_DEC_COUNT_MASK_PREFIX VSF_HW
50
51# define VSF_USART_CFG_DEC_PREFIX vsf_hw
52# define VSF_USART_CFG_DEC_UPCASE_PREFIX VSF_HW
53# define VSF_USART_CFG_DEC_REMAP_PREFIX vsf_fifo2req
55#endif
56
57# endif // __HAL_DRIVER_LUAT_AIR05_H__
58#endif // __VSF_HEADER_ONLY_SHOW_ARCH_INFO__
59/* EOF */