FreeHIL
Loading...
Searching...
No Matches
FH_UART05_GlobalVariables.h
Go to the documentation of this file.
1
/**
2
* @file
3
* @brief
4
* <b>File Map:</b>\n
5
* <b>FH_Functions</b>, Section <b>FH_UART</b>, Peripheral <b>FH_UART05</b> (UART 05)\n
6
* (The <b>UART05 (UART 05)</b> could be any interested UART of the micro-controller on which <b>FH</b> source code is ported)\n
7
* Global variables and arrays of UART05 are defined here
8
* This header file could be included whenever interested by <b>FH user</b>
9
*
10
*******************************************************************************
11
* SPDX-License-Identifier: Apache-2.0
12
*
13
* Copyright 2026 Vahid Hasirchi
14
*
15
* Licensed under the Apache License, Version 2.0 (the "License");
16
* you may not use this file except in compliance with the License.
17
* You may obtain a copy of the License at
18
*
19
* http://www.apache.org/licenses/LICENSE-2.0
20
*
21
* Unless required by applicable law or agreed to in writing, software
22
* distributed under the License is distributed on an "AS IS" BASIS,
23
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
* See the License for the specific language governing permissions and
25
* limitations under the License.
26
********************************************************************************
27
28
*
29
* <b>For more information refer to FreeHIL.com</b>
30
*
31
*/
32
33
/* Define to prevent recursive inclusion -------------------------------------*/
34
#ifndef FH_UART05_GlobalVariables_H
35
#define FH_UART05_GlobalVariables_H
36
37
/* Includes ------------------------------------------------------------------*/
38
#include "
../../../../FH_Embedded/FH_Root/FH_Perif/FH_UART/FH_UART_Configs/FH_UART_Configs.h
"
39
40
#ifdef FH_UART05
// It is configurable in FH_UART_Configs.h
41
42
#if FH_UART_MaxPeripheralNumber > 0
// It is configurable in FH_DevicePeripherals.h
43
44
extern
volatile
uint8_t
FH_UART05_ReceiveBuf
[];
45
extern
volatile
uint16_t
FH_UART05_ReceiveBufIndex
;
46
47
extern
volatile
uint8_t
FH_UART05_SharedDataBuf_8Bits
[];
48
extern
volatile
uint16_t
FH_UART05_SharedDataBuf_16Bits
[];
49
extern
volatile
uint32_t
FH_UART05_SharedDataBuf_32Bits
[];
50
51
#endif
52
53
#endif
54
55
#endif
Core
FH_Embedded
FH_Functions
FH_UART
FH_UART05
FH_UART05_GlobalVariables.h
Generated by
1.15.0