6 * (The <b>PWMO54 (PWM Output 54)</b> could be any interested PWM Output of the micro-controller on which <b>FH</b> source code is ported)\n
7 *
8 * @note To have a clean code, <b>FH</b> user should have the implementation of the initialization and set function of the <b>PWM Output 54</b> in a separate c file\n
9 * Then <b>FH</b> user should include the header file <b>(.h)</b> of the related source file <b>(.c)</b> here\n
10 * This header file shall include the following items:\n
11 * The declaration of the initialization function of the <b>PWM Output 54</b>\n
12 * The declaration of the set function of the <b>PWM Output 54</b>
13 *
14 * @attention There are a total number of <b>3 attentions</b> (<b>FH</b> user defined code) in this file where <b>FH</b> user shall insert some code\n
77 DeviceAddress_01 => It shall be equal to the address of the device: FH_RFCommunication_DeviceAddress
78 Function_PWMO => It is the function in the message frame
79 PWMO_Commands_Init => It is the command of the function in the message frame
80 @endverbatim
81 *
82 *
83 * @warning
84 * To be able to set or reset the <b>PWM Output 54</b> of the micro-controller on which <b>FH</b> source code is ported, this function shall be invoked once by <b>RobotFramework</b> firstly\n
85 * In other words, before invoking <b>FH_PWMO_SetStatus_PWMO54</b> function from <b>RobotFramework</b>, this function shall be invoked in order to initialize the PWM Output
128 00 00 00 F0 => Example data as PWM frequency (0x000000F0) to be set through the <b>PWM Output 54</b>\n
129 32 => Example data as PWM duty cycle (0x32 => as 50% duty cycle) to be set through the <b>PWM Output 54</b>\n
130 DeviceAddress_01 => It shall be equal to the address of the device: FH_RFCommunication_DeviceAddress
131 Function_PWMO => It is the function in the message frame
132 PWMO_Commands_SetStatus => It is the command of the function in the message frame
133 @endverbatim
134 *
135 *
136 * @warning
137 * To be able to set the <b>PWM Output 54</b> of the micro-controller on which <b>FH</b> source code is ported, the <b>FH_PWMO_Init_PWMO54</b> function shall be invoked once by <b>RobotFramework</b> firstly\n
138 * In other words, before invoking <b>FH_PWMO_SetStatus_PWMO54</b> function from <b>RobotFramework</b>, <b>FH_PWMO_Init_PWMO54</b> function shall be invoked in order to initialize the PWM Output
144FH_ErrorInfo fh_ErrorInfo; // Error Information
145FH_ResetErrorInfo(&fh_ErrorInfo); // Reset Error Information to default
146
147// Attention 3: FH user defined code (call the set function of the PWM Output 54 here with fh_RFCommunication_Message -> Data[...] as argument)
148// Hint: The prototype of the set function should be something like YourSetFunctionName(uint32_t Frequency, uint8_t DutyCycle);
149
150//YourSetFunctionName (FH_ConvertUint8ToUint32(&fh_RFCommunication_Message -> Data[PWMO_SetStatus_FrequencyByte4]), // One 4 bytes PWM data out of four 1 byte data is sent as frequency argument
151// fh_RFCommunication_Message -> Data[PWMO_SetStatus_DutyCycle]); // One byte as duty cycle argument