FreeHIL
Loading...
Searching...
No Matches
FH_PWMI.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_PWMI</b> (PWM Input)\n
6
* Functions in this file, handle RFCommunication (<b>RobotFramework</b> <b>C</b>ommunication) for all commands related to <b>PWMI</b> (PWM 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_PWMI_H
35
#define FH_PWMI_H
36
37
/* Includes ------------------------------------------------------------------*/
38
#include "
../../../../FH_Embedded/FH_Root/FH_Perif/FH_PWMI/FH_PWMI_Configs/FH_PWMI_Configs.h
"
39
40
#if FH_PWMI_MaxPeripheralNumber > 0
// It is configurable in FH_DevicePeripherals.h
41
42
/* Function Prototypes -----------------------------------------------------*/
43
FH_ErrorInfo
FH_PWMI_RFCommunication
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
44
FH_ErrorInfo
FH_PWMI_ProcessCommand_Init
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
);
45
FH_ErrorInfo
FH_PWMI_ProcessCommand_GetStatus
(
FH_RFCommunication_Message
*
fh_RFCommunication_Message
, uint32_t* FH_PWMI_Frequency, uint8_t* FH_PWMI_DutyCycle);
46
47
#endif
48
49
#endif
Core
FH_Embedded
FH_Root
FH_Perif
FH_PWMI
FH_PWMI.h
Generated by
1.15.0