MicroC Overview : Activity Behavior: User-Defined Functions

Activity Behavior: User-Defined Functions

User-defined functions might be implemented in any of the following languages:

Use the old safe way to link with legacy code, i.e. call OS/ environment special services and utilize otherwise inaccessible functionality as inline assembly calls. This should be use like a glue, for reuse of legacy code and to implement tricky algorithms.

For example: Debouncing and filtering algorithms; continuous controllers like PI loops within HVAC and Cruise ECUs could also be implemented in this way.