FAXLIB, FIU module needs fiuContext_t fiuContext global variable set to operate.
Among other fields, fiuContext_t type has two pointers to functions: faxCriticalSectionBegin and faxCriticalSectionEnd. These pointers should be assigned to "externally supplied system function that suspends preemption of FIU processing". However, example code has empty implementation of these functions.
What kind of critical section FIU module requires? Right now, I used TSK_disable/TSK_enable for critical section and my code works, but what is exact use of these functions in FIU and what implementation is expected?
It'll be also very helpful if one could describe the meaning of other fields in fiuContext_t, because the use of external memory pool in FIU is neither explained in documentation nor present in demo code. Currently, I had to assign NULL or 0 to fields related to external buffers, because memory requirements are not clear for me.