Reference for CMSIS-RTOS2 document translation (RTX5-specific API event function (introduction))

Event function

RTX5 event logging function. More...

content

  memory function
  Events that occur in memory functions.
 
  kernel function
  Events generated by kernel functions.
 
  thread function
  Events generated by thread functions.
 
  timer function
  Events generated by timer functions.
 
  event flag function
  Event flags the event generated by the function.
 
  Mutex function
  Events generated by mutex functions.
 
  semaphore function
  Events generated by semaphore functions.
 
  memory pool function
  Events generated by memory pool functions.
 
  message queue function
  Events generated by message queue functions.
 

describe

The RTX5 interfaces with an event recorder to provide event information to help you understand and analyze operations.

To use the event recorder with the RTX5, you need to create an image that generates event information. The steps are:

  • To add an event recorder :Select the software component Compiler: Event Recorder in the RTE management dialog.
  • Select debug version :In the RTE management dialog select the software component CMSIS: Source variant of RTOS2 (API): Keil RTX5.
  • Add initialization code :Call the function EventRecorderInitialize in your application code.
  • Build and download application code to debug hardware.

After the target application generates event information, it can be viewed in the µVision debugger using the event logger.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325464386&siteId=291194637