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>PWMO</b> (PWM Output)\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>
85 * @brief This function handles <b>FH_PWMO_Commands_Init</b> command\n
86 * There are 3 main items handled in this function as following:\n
87 * 1 - Verifying the health of the received message\n
88 * 2 - Setting the addresses of the functions in <b>FH_Functions</b>, Section <b>FH_PWMO</b> (PWM Output) to an array of function pointer\n
89 * 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_PWMO</b> (PWM Output) according to the first parameter of the Data in the message frame
90 *
91 * @param fh_RFCommunication_Message
92 * The message frame set by <b>RobotFramework</b>
128 FH_PWMO_Init_S (FH_PWMO_Init_FuncPtr); // Setting the address of the functions
129
130// 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_PWMO</b> (PWM Output) according to the first parameter of the Data in the message frame
131FH_ResetErrorInfo(&fh_ErrorInfo); // Reset Error Information to default
132 fh_ErrorInfo = FH_PWMO_Init_C (fh_RFCommunication_Message, FH_PWMO_Init_FuncPtr); // Calling the related function according to the first parameter of the Data in the message frame
133return fh_ErrorInfo;
134}
135
136/**
137 * @brief This function handles <b>FH_PWMO_Commands_SetStatus</b> command\n
138 * There are 3 main items handled in this function as following:\n
139 * 1 - Verifying the health of the received message\n
140 * 2 - Setting the addresses of the functions in <b>FH_Functions</b>, Section <b>FH_PWMO</b> (PWM Output) to an array of function pointer\n
141 * 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_PWMO</b> (PWM Output) according to the first parameter of the Data in the message frame\n
142 * (The next 4 parameters after the first one, resemble the PWM data to be set as one 32 bit data)
143 *
144 * @param fh_RFCommunication_Message
145 * The message frame set by <b>RobotFramework</b>
183 FH_PWMO_SetStatus_S (FH_PWMO_SetStatus_FuncPtr); // Setting the address of the functions
184
185// 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_PWMO</b> (PWM Output) according to the first parameter of the Data in the message frame
186FH_ResetErrorInfo(&fh_ErrorInfo); // Reset Error Information to default
187 fh_ErrorInfo = FH_PWMO_SetStatus_C (fh_RFCommunication_Message, FH_PWMO_SetStatus_FuncPtr); // Calling the related function according to the first 1 + 4 parameters of the Data in the message frame