FreeHIL
Loading...
Searching...
No Matches
FH_DI.h
Go to the documentation of this file.
1
/**
2
* @file
3
* @brief
4
* <b>File Map:</b>\n
5
* <b>FH_Root</b>, Section <b>FH_Perif</b>, <b>FH_DI</b> (Digital Input)\n
6
* Functions in this file, handle RFCommunication (<b>RobotFramework</b> <b>C</b>ommunication) for all commands related to <b>DI</b> (Digital Input)
7
*
8
* @attention <b>FH</b> user could left this file intact
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_DI_H
35
#define FH_DI_H
36
37
/* Includes ------------------------------------------------------------------*/
38
#include "
../../../../FH_Embedded/FH_Root/FH_Perif/FH_DI/FH_DI_Configs/FH_DI_Configs.h
"
39
40
#if FH_DI_MaxPeripheralNumber > 0
// It is configurable in FH_DevicePeripherals.h
41
42
/* Function Prototypes -----------------------------------------------------*/
43
FH_ErrorInfo
FH_DI_RFCommunication
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
44
FH_ErrorInfo
FH_DI_ProcessCommand_Init
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
45
FH_ErrorInfo
FH_DI_ProcessCommand_GetStatus
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* FH_DI_Data);
46
FH_ErrorInfo
FH_DI_ProcessCommand_InitMULTI
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
47
FH_ErrorInfo
FH_DI_ProcessCommand_GetStatusMULTI
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint8_t* FH_DI_Data);
48
49
#endif
50
51
#endif
Core
FH_Embedded
FH_Root
FH_Perif
FH_DI
FH_DI.h
Generated by
1.15.0