Sunday, March 18th 2018, 2:53pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Date of registration: Sep 15th 2016

Posts: 6


Friday, September 16th 2016, 8:53am

SystemView events 0-31, timer start / expired


I want to use


To inform about software timers start/expire events. I'm using freertos 9.0.0.
I'm able to pass timer ID in SYSVIEW_EVTID_TIMER_ENTER event but it is not possible in case of SYSVIEW_EVTID_TIMER_EXIT.
Because of it i'm not able to see which timer expired.

Is it possible to extend some of IDs 0-31, like it is possible in description file for API events (32 - 500)?

Best regards
Lukasz Antczak

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 377


Friday, September 16th 2016, 2:17pm

Hi Lukasz,

TIMER_ENTER should be called when the timer expired and its handler is called.
TIMER_EXIT is then called when the handler returns.

So the timer Id is required only for TIMER_ENTER, since on TIMER_EXIT SystemView knows that this must correspond to the last timer entered.

IDs 0-31 are internal and cannot be modified.

Best regards