VSF Documented
uart.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 __OSA_HAL_X86_WIN_USART_H__
19#define __OSA_HAL_X86_WIN_USART_H__
20
21/*============================ INCLUDES ======================================*/
22
23#include "hal/vsf_hal_cfg.h"
24
25#if VSF_HAL_USE_USART == ENABLED
26
27#include "../device.h"
29
30/*============================ MACROS ========================================*/
31/*============================ MACROFIED FUNCTIONS ===========================*/
32/*============================ TYPES =========================================*/
33/*============================ INCLUDES ======================================*/
34/*============================ TYPES =========================================*/
35
36typedef struct vsf_usart_t vsf_usart_t;
37
41 char name[256];
42 char friendly_name[256];
44
45/*============================ GLOBAL VARIABLES ==============================*/
46/*============================ PROTOTYPES ====================================*/
47
49
50#endif
51#endif // __OSA_HAL_X86_WIN_USART_H__
unsigned char uint8_t
Definition stdint.h:5
Definition uart.h:38
vsf_usart_t * instance
Definition uart.h:39
char name[256]
Definition uart.h:41
uint8_t port
Definition uart.h:40
char friendly_name[256]
Definition uart.h:42
USART instance structure Used for USART Multi Class support.
Definition vsf_template_usart.h:1008
uint8_t vsf_hostos_usart_scan_devices(vsf_hostos_usart_device_t *devices, uint8_t device_num)
Definition uart.c:155
Generated from commit: vsfteam/vsf@3f091ef