In your App.c #define RESOLUTION 1000 // in uS #define TIMER_NUM 1 // TIM3 #define TIMER_PRIO MIOS32_IRQ_PRIO_MID static void TIMER_TIck(void); ///////////////////////////////////////////////////////////////////////////// // This hook is called after startup to initialize the application ///////////////////////////////////////////////////////////////////////////// void APP_Init(void) { MIOS32_TIMER_Init(TIMER_NUM, RESOLUTION, TIMER_TIck, TIMER_PRIO); } // This function will be call
    • Like
    1