FreeHIL
Loading...
Searching...
No Matches
FH_AI18.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_AI</b> (Analog Input), Peripheral <b>FH_AI18</b> (Analog Input 18)\n
6
* (The <b>AI18 (Analog Input 18)</b> could be any interested Analog Input 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_AI18_H
33
#define FH_AI18_H
34
35
/* Includes ------------------------------------------------------------------*/
36
#include "
../../../../FH_Embedded/FH_Root/FH_Perif/FH_AI/FH_AI_Configs/FH_AI_Configs.h
"
37
#include "
../../../../FH_Embedded/FH_Setup/FH_RFCommunication/FH_RFCommunication_GlobalVariables.h
"
38
39
#ifdef FH_AI18
// It is configurable in FH_AI_Configs.h
40
41
#if FH_AI_MaxPeripheralNumber > 0
// It is configurable in FH_DevicePeripherals.h
42
43
FH_ErrorInfo
FH_AI_Init_AI18
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
44
FH_ErrorInfo
FH_AI_GetStatus_AI18
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint32_t* Data);
45
46
#endif
47
48
#endif
49
50
#endif
Core
FH_Embedded
FH_Functions
FH_AI
FH_AI18
FH_AI18.h
Generated by
1.15.0