User`s guide
Libraries and Runtime Code
EOnCE Library
333Targeting MC56F83xx/DSP5685x Controllers
To use the EOnCE library, you must include it in your project. The name of the file is
eonce 56800E lmm.lib and it is located at:
CodeWarrior\M56800ESupport\eonce\lib
The
Large Data Model option must be enabled in the M56800E Processor preference
panel. Any source file that contains code that calls any of the EOnCE Library
functions must #include eonceLib.h. This header file is located at:
CodeWarrior\M56800E Support\eonce\include
The library functions are listed below:
• _eonce_Initialize
• _eonce_SetTrigger
• _eonce_SetCounterTrigger
• _eonce_ClearTrigger
• _eonce_GetCounters
• _eonce_GetCounterStatus
• _eonce_SetupTraceBuffer
• _eonce_GetTraceBuffer
• _eonce_ClearTraceBuffer
• _eonce_StartTraceBuffer
• _eonce_HaltTraceBuffer
• _eonce_EnableDEBUGEV
• _eonce_EnableLimitTrigger
The sub-section “Definitions” defines:
• Return Codes
• Normal Trigger Modes
• Counter Trigger Modes
• Data Selection Modes
• Counter Function Modes
• Normal Unit Action Options
• Counter Unit Action Options
• Accumulating Trigger Options
• Miscellaneous Trigger Options