FreeHIL
Loading...
Searching...
No Matches
FH_UART04_GlobalVariables.h File Reference

File Map:
FH_Functions, Section FH_UART, Peripheral FH_UART04 (UART 04)
(The UART04 (UART 04) could be any interested UART of the micro-controller on which FH source code is ported)
Global variables and arrays of UART04 are defined here This header file could be included whenever interested by FH user More...

Go to the source code of this file.

Variables

volatile uint8_t FH_UART04_ReceiveBuf []
volatile uint16_t FH_UART04_ReceiveBufIndex
volatile uint8_t FH_UART04_SharedDataBuf_8Bits []
volatile uint16_t FH_UART04_SharedDataBuf_16Bits []
volatile uint32_t FH_UART04_SharedDataBuf_32Bits []

Detailed Description

File Map:
FH_Functions, Section FH_UART, Peripheral FH_UART04 (UART 04)
(The UART04 (UART 04) could be any interested UART of the micro-controller on which FH source code is ported)
Global variables and arrays of UART04 are defined here This header file could be included whenever interested by FH user

SPDX-License-Identifier: Apache-2.0

Copyright 2026 Vahid Hasirchi

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

For more information refer to FreeHIL.com

Definition in file FH_UART04_GlobalVariables.h.

Variable Documentation

◆ FH_UART04_ReceiveBuf

volatile uint8_t FH_UART04_ReceiveBuf[]
extern

FH user shall use FH_UART04_ReceiveBuf in the receive ISR (Interrupt Service Routine) of the UART 04 in a separate c file
For this to happen, FH user shall just include FH_UART04_GlobalVariables.h there
In other word, FH_UART04_ReceiveBuf array shall receive every byte of the received data there
It is configurable in FH_UART04_Configs.h

Definition at line 70 of file FH_UART04.c.

Referenced by FH_UART_Receive_UART04(), and FH_UART_ReceiveW_UART04().

◆ FH_UART04_ReceiveBufIndex

volatile uint16_t FH_UART04_ReceiveBufIndex
extern

FH_UART04_ReceiveBufIndex is the index of FH_UART04_ReceiveBuf

Definition at line 75 of file FH_UART04.c.

Referenced by FH_UART_Receive_UART04(), FH_UART_ReceiveW_UART04(), and FH_UART_ResetRB_UART04().

◆ FH_UART04_SharedDataBuf_16Bits

volatile uint16_t FH_UART04_SharedDataBuf_16Bits[]
extern

FH_UART04_SharedDataBuf_16Bits is optional and could be left intact
It could be used by FH user to set some special data like receive filters on ISR (Interrupt Service Routine) of the UART 04 , ... It are controllable with some commands (described in this file) through RobotFramework
It is configurable in FH_UART04_Configs.h

Definition at line 91 of file FH_UART04.c.

Referenced by FH_UART_GSD16_UART04(), and FH_UART_SSD16_UART04().

◆ FH_UART04_SharedDataBuf_32Bits

volatile uint32_t FH_UART04_SharedDataBuf_32Bits[]
extern

FH_UART04_SharedDataBuf_32Bits is optional and could be left intact
It could be used by FH user to set some special data like receive filters on ISR (Interrupt Service Routine) of the UART 04 , ... It are controllable with some commands (described in this file) through RobotFramework
It is configurable in FH_UART04_Configs.h

Definition at line 98 of file FH_UART04.c.

Referenced by FH_UART_GSD32_UART04(), and FH_UART_SSD32_UART04().

◆ FH_UART04_SharedDataBuf_8Bits

volatile uint8_t FH_UART04_SharedDataBuf_8Bits[]
extern

FH_UART04_SharedDataBuf_8Bits is optional and could be left intact
It could be used by FH user to set some special data like receive filters on ISR (Interrupt Service Routine) of the UART 04 , ... It are controllable with some commands (described in this file) through RobotFramework
It is configurable in FH_UART04_Configs.h

Definition at line 83 of file FH_UART04.c.

Referenced by FH_UART_GSD8_UART04(), and FH_UART_SSD8_UART04().