lib/C/iec_std_FB.h
changeset 1011 76175defb87b
parent 905 31224f8cac32
child 1094 068c28266332
equal deleted inserted replaced
1010:242907849850 1011:76175defb87b
     4  * IEC 61131-3 standard function block library
     4  * IEC 61131-3 standard function block library
     5  */
     5  */
     6 
     6 
     7 /* NOTE: The code in this file was generated by iec2c (i.e. matiec C compiler), using as source
     7 /* NOTE: The code in this file was generated by iec2c (i.e. matiec C compiler), using as source
     8  *        the *.txt files in the 'lib' directory.
     8  *        the *.txt files in the 'lib' directory.
     9  *       The only 'manual' change was to the function prototypes, that were all changed to become 'static'.
     9  *       The only 'manual' change was:
    10  *         e.g.:   static void R_TRIG_init__(...)
    10  *          - to merge the generated .h and .c files into this single file
    11  *                 ^^^^^^
    11  *          - to remove the forward declarations of the functions
       
    12  *          - to change the function prototypes to become 'static'.
       
    13  *             e.g.:   static void R_TRIG_init__(...)
       
    14  *                     ^^^^^^
    12  * 
    15  * 
    13  * NOTE: If the structure of the C code generated by iec2c (matiec) should change, then this C 'library'
    16  * NOTE: If the structure of the C code generated by iec2c (matiec) should change, then this C 'library'
    14  *       file will need to be recompiled. 
    17  *       file will need to be recompiled. 
    15  *       The correct way of going about this would be to have this file be automatically generated during
    18  *       The correct way of going about this would be to have this file be automatically generated during
    16  *       the build process (i.e. after compiling matiec), but we will leave this for later if it ever
    19  *       the build process (i.e. after compiling matiec), but we will leave this for later if it ever
    17  *       becomes necessary.
    20  *       becomes necessary.
       
    21  * 
       
    22  * WARNING: There are 2 versions of this file:
       
    23  *            - file: iec_std_FB.h
       
    24  *              Version to be used when the EN and ENO parameters are implicitly generated
       
    25  *              for all functions and function blocks
       
    26  *            - file: iec_std_FB_no_ENENO.h
       
    27  *              Version to be used when the EN and ENO parameters are NOT implicitly generated
       
    28  *              for all functions and function blocks
    18  */
    29  */
    19 
    30 
    20 #ifndef _IEC_STD_FB_H
    31 #ifndef _IEC_STD_FB_H
    21 #define _IEC_STD_FB_H
    32 #define _IEC_STD_FB_H
    22 
    33