FreeHIL
Loading...
Searching...
No Matches
FH_DI31.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_DI</b> (Digital Input), Peripheral <b>FH_DI31</b> (Digital Input 31)\n
6
* (The <b>DI31 (Digital Input 31)</b> could be any interested digital 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_DI31_H
33
#define FH_DI31_H
34
35
/* Includes ------------------------------------------------------------------*/
36
#include "
../../../../FH_Embedded/FH_Root/FH_Perif/FH_DI/FH_DI_Configs/FH_DI_Configs.h
"
37
38
#ifdef FH_DI31
// It is configurable in FH_DI_Configs.h
39
40
#if FH_DI_MaxPeripheralNumber > 0
// It is configurable in FH_DevicePeripherals.h
41
42
FH_ErrorInfo
FH_DI_Init_DI31
();
43
FH_ErrorInfo
FH_DI_GetStatus_DI31
(uint8_t* Data);
44
45
#endif
46
47
#endif
48
49
#endif
Core
FH_Embedded
FH_Functions
FH_DI
FH_DI31
FH_DI31.h
Generated by
1.15.0