FreeHIL
Loading...
Searching...
No Matches
FH_UART01.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_UART01</b> (UART 01)\n
6
* (The <b>UART01 (UART 01)</b> could be any interested UART of the micro-controller on which <b>FH</b> source code is ported)\n
7
*
8
*******************************************************************************
9
* SPDX-License-Identifier: Apache-2.0
10
*
11
* Copyright 2026 Vahid Hasirchi
12
*
13
* Licensed under the Apache License, Version 2.0 (the "License");
14
* you may not use this file except in compliance with the License.
15
* You may obtain a copy of the License at
16
*
17
* http://www.apache.org/licenses/LICENSE-2.0
18
*
19
* Unless required by applicable law or agreed to in writing, software
20
* distributed under the License is distributed on an "AS IS" BASIS,
21
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
* See the License for the specific language governing permissions and
23
* limitations under the License.
24
********************************************************************************
25
26
*
27
* <b>For more information refer to FreeHIL.com</b>
28
*
29
*/
30
31
/* Define to prevent recursive inclusion -------------------------------------*/
32
#ifndef FH_UART01_H
33
#define FH_UART01_H
34
35
/* Includes ------------------------------------------------------------------*/
36
#include "
../../../../FH_Embedded/FH_Root/FH_Perif/FH_UART/FH_UART_Configs/FH_UART_Configs.h
"
37
#include "
../../../../FH_Embedded/FH_Setup/FH_RFCommunication/FH_RFCommunication_GlobalVariables.h
"
38
39
#ifdef FH_UART01
// It is configurable in FH_UART_Configs.h
40
41
#if FH_UART_MaxPeripheralNumber > 0
// It is configurable in FH_DevicePeripherals.h
42
43
/* Function Prototypes -----------------------------------------------------*/
44
FH_ErrorInfo
FH_UART_Init_UART01
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
45
FH_ErrorInfo
FH_UART_Send_UART01
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
46
FH_ErrorInfo
FH_UART_Receive_UART01
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* FH_DataSize, uint8_t* FH_Data);
47
FH_ErrorInfo
FH_UART_ReceiveW_UART01
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* FH_DataSize, uint8_t* FH_Data);
48
FH_ErrorInfo
FH_UART_ResetRB_UART01
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
49
FH_ErrorInfo
FH_UART_SSD8_UART01
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
50
FH_ErrorInfo
FH_UART_SSD16_UART01
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
51
FH_ErrorInfo
FH_UART_SSD32_UART01
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
52
FH_ErrorInfo
FH_UART_GSD8_UART01
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* SharedDataLength, uint8_t* SharedData);
53
FH_ErrorInfo
FH_UART_GSD16_UART01
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* SharedDataLength, uint8_t* SharedData);
54
FH_ErrorInfo
FH_UART_GSD32_UART01
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* SharedDataLength, uint8_t* SharedData);
55
56
#endif
57
58
#endif
59
60
#endif
Core
FH_Embedded
FH_Functions
FH_UART
FH_UART01
FH_UART01.h
Generated by
1.15.0