51 * @brief This function is the basic function of handling RFCommunication (<b>RobotFramework</b> <b>C</b>ommunication) for all the <b>Commands</b> related to the <b>Function</b> <b>PWMI</b> (PWM Input)\n
52 * This function is called from <b>FH_RFCommunication()</b>
53 *
54 * @param fh_RFCommunication_Message
55 * The message frame set by <b>RobotFramework</b>
104 * @brief This function handles <b>FH_PWMI_Commands_Init</b> command\n
105 * There are 3 main items handled in this function as following:\n
106 * 1 - Verifying the health of the received message\n
107 * 2 - Setting the addresses of the functions in <b>FH_Functions</b>, Section <b>FH_PWMI</b> (PWM Input) to an array of function pointer\n
108 * 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_PWMI</b> (PWM Input) according to the first parameter of the Data in the message frame
109 *
110 * @param fh_RFCommunication_Message
111 * The message frame set by <b>RobotFramework</b>
147 FH_PWMI_Init_S (FH_PWMI_Init_FuncPtr); // Setting the address of the functions
148
149// 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_PWMI</b> (PWM Input) according to the first parameter of the Data in the message frame
150FH_ResetErrorInfo(&fh_ErrorInfo); // Reset Error Information to default
151 fh_ErrorInfo = FH_PWMI_Init_C (fh_RFCommunication_Message, FH_PWMI_Init_FuncPtr); // Calling the related function according to the first parameter of the Data in the message frame
152return fh_ErrorInfo;
153}
154
155/**
156 * @brief This function handles <b>FH_PWMI_Commands_GetStatus</b> command\n
157 * There are 3 main items handled in this function as following:\n
158 * 1 - Verifying the health of the received message\n
159 * 2 - Setting the addresses of the functions in <b>FH_Functions</b>, Section <b>FH_PWMI</b> (PWM Input) to an array of function pointer\n
160 * 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_PWMI</b> (PWM Input) according to the first parameter of the Data in the message frame
161 *
162 * @param fh_RFCommunication_Message
163 * The message frame set by <b>RobotFramework</b>
200 FH_PWMI_GetStatus_S (FH_PWMI_GetStatus_FuncPtr); // Setting the address of the functions
201
202// 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_PWMI</b> (PWM Input) according to the first parameter of the Data in the message frame
203FH_ResetErrorInfo(&fh_ErrorInfo); // Reset Error Information to default
204 fh_ErrorInfo = FH_PWMI_GetStatus_C (fh_RFCommunication_Message, FH_PWMI_Frequency, FH_PWMI_DutyCycle , FH_PWMI_GetStatus_FuncPtr); // Calling the related function according to the first parameter of the Data in the message frame