Library .h Files | Context |
Elves needs a list to indicate which functions belong to a library. For this purpose a .h file needs to be generated with the same name as the library file except with the extension .h. The contents of the .h file must be the function prototypes of the required functions. For instance the libAdc702x.r79 library has an associated file libAdc702x.h with the following contents:
extern int AdcSta(void); extern int AdcRd(void); extern int AdcRef(int iRef); extern int AdcGo(int iChanP, int iChanN, int iStart); extern int AdcTst(void)For additional details see Elves Code Rules.