6 * (The <b>AO46 (Analog Output 46)</b> could be any interested Analog 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>Analog Output 46</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>Analog Output 46</b>\n
12 * The declaration of the set function of the <b>Analog Output 46</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_AO => It is the function in the message frame
79 AO_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>Analog Output 46</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_AO_SetStatus_AO46</b> function from <b>RobotFramework</b>, this function shall be invoked in order to initialize the Analog Output
128 F1 C2 01 08 => Example data as analog value (0xF1C20108) to be set through the <b>Analog Output 46</b>\n
129 DeviceAddress_01 => It shall be equal to the address of the device: FH_RFCommunication_DeviceAddress
130 Function_AO => It is the function in the message frame
131 AO_Commands_SetStatus => It is the command of the function in the message frame
132 @endverbatim
133 *
134 *
135 * @warning
136 * To be able to set the <b>Analog Output 46</b> of the micro-controller on which <b>FH</b> source code is ported, the <b>FH_AO_Init_AO46</b> function shall be invoked once by <b>RobotFramework</b> firstly\n
137 * In other words, before invoking <b>FH_AO_SetStatus_AO46</b> function from <b>RobotFramework</b>, <b>FH_AO_Init_AO46</b> function shall be invoked in order to initialize the Analog Output
143FH_ErrorInfo fh_ErrorInfo; // Error Information
144FH_ResetErrorInfo(&fh_ErrorInfo); // Reset Error Information to default
145
146// Attention 3: FH user defined code (call the set function the Analog Output 46 here with fh_RFCommunication_Message -> Data[...] as argument)
147// Hint: The prototype of the set function should be something like YourSetFunctionName(uint32_t Data);
148
149// YourSetFunctionName (FH_ConvertUint8ToUint32(&fh_RFCommunication_Message -> Data[AO_SetStatus_StatusByte4])); // One 4 bytes analog data out of four 1 byte data is sent as argument