Exemplo n.º 1
0
static void systick_timeout_handler(void * p_context)
{
    void xPortSysTickHandler( void );
    UNUSED_PARAMETER(p_context);

    xPortSysTickHandler();
}
Exemplo n.º 2
0
/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
  if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED)
  {
    xPortSysTickHandler();
  }
}
/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
if(demo_mode == 0)
  xPortSysTickHandler();
else  
  TimingDelay_Decrement();
}
Exemplo n.º 4
0
/**
 * \brief Handler for Sytem Tick interrupt.
 */
void SysTick_Handler(void)
{
	static uint8_t update_delay = 0;

	/* Set flag: it's time to measure touch */
	time_to_measure_touch = 1u;

	/* Update the current time */
	current_time_ms_touch += qt_measurement_period_msec;

	g_ul_tick_count++;

	/* Call TSD_TimerHandler per 10ms */
	if ((g_ul_tick_count % 10) == 0) {
		rtouch_process();
	}

	if (fft_delay < SYSTICK_FREQ) {
		/* 1S */
		fft_delay++;
	}

	if (++update_delay == 20) {
		update_delay = 0;
		fft_update = true;
	}

	xPortSysTickHandler();
}
Exemplo n.º 5
0
/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler (void)
{
  HAL_IncTick();
  if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED)
  {
    xPortSysTickHandler();
  }
  Toggle_Leds();
}
/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
	HAL_IncTick();
	if(xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED)
	{
		xPortSysTickHandler();
	}
	// HAL_SYSTICK_IRQHandler();
	systick_count++;
}
Exemplo n.º 7
0
void SysTick_Handler(void)
{
    //-- FreeRTOS 인터럽트 호출
    //
    if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED)
    {
        xPortSysTickHandler();
    }

    sysTickUptime++;
}
Exemplo n.º 8
0
/**
* @brief  Handles the tick increment
* @param  none.
* @retval none.
*/
void osSystickHandler(void)
{

#if (INCLUDE_xTaskGetSchedulerState  == 1 )
  if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED)
  {
#endif  /* INCLUDE_xTaskGetSchedulerState */  
    xPortSysTickHandler();
#if (INCLUDE_xTaskGetSchedulerState  == 1 )
  }
#endif  /* INCLUDE_xTaskGetSchedulerState */  
}
Exemplo n.º 9
0
__attribute__((isr)) void CORET_IRQHandler(void)
{
    readl(0xE000E010);

#if defined(CONFIG_KERNEL_RHINO)
    systick_handler();
#elif defined(CONFIG_KERNEL_FREERTOS)
    xPortSysTickHandler();
#elif defined(CONFIG_KERNEL_UCOS)
    OSTimeTick();
#endif
}
Exemplo n.º 10
0
/**
* @brief This function handles System tick timer.
*/
void SysTick_Handler(void)
{
  /* USER CODE BEGIN SysTick_IRQn 0 */

  /* USER CODE END SysTick_IRQn 0 */
  if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED) {
    xPortSysTickHandler();
  }
  HAL_IncTick();
  /* USER CODE BEGIN SysTick_IRQn 1 */

  /* USER CODE END SysTick_IRQn 1 */
}
Exemplo n.º 11
0
ATTRIBUTE_ISR void CORET_IRQHandler(void)
{
    CSI_INTRPT_ENTER();

    readl(0xE000E010);

#if defined(CONFIG_KERNEL_RHINO)
    systick_handler();
#elif defined(CONFIG_KERNEL_FREERTOS)
    xPortSysTickHandler();
#elif defined(CONFIG_KERNEL_UCOS)
    OSTimeTick();
#endif

    CSI_INTRPT_EXIT();
}
Exemplo n.º 12
0
/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler (void)
{
  HAL_IncTick();
  xPortSysTickHandler();
  Toggle_Leds();
}
Exemplo n.º 13
0
/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
  xPortSysTickHandler();
  //osSystickHandler();
}
Exemplo n.º 14
0
/**
* @brief  This function handles SysTick Handler.
* @param  None
* @retval None
*/
void SysTick_Handler(void)
{
  xPortSysTickHandler();
}
Exemplo n.º 15
0
void SysTick_Handler(void)
{
	if (xTaskGetSchedulerState() == taskSCHEDULER_RUNNING)
		xPortSysTickHandler();
	HAL_IncTick();
}
Exemplo n.º 16
0
Arquivo: main.c Projeto: nedos/ddk-arm
void SysTick_Handler (void) {
    //vApplicationTickHook();
    xPortSysTickHandler();
}
void sys_tick_handler(void)
{
  	xPortSysTickHandler();
}
Exemplo n.º 18
0
/// Wrap the FreeRTOS tick function such that we get a true measure of how much CPU tasks are using
__attribute__ ((section(".after_vectors"))) void isr_sys_tick(void)
{
    vRunTimeStatIsrEntry();
    xPortSysTickHandler();
    vRunTimeStatIsrExit();
}
void SysTick_Handler(void)
{
    xPortSysTickHandler();
    TimeTick_Increment() ;
}
Exemplo n.º 20
0
Arquivo: rtos.c Projeto: miaofng/ulp
void task_Isr(void)
{
	time_isr();
	xPortSysTickHandler();
}
Exemplo n.º 21
0
int sysTickHook(void) {
  if (sysTickEnabled) xPortSysTickHandler();
  return 0;
}
Exemplo n.º 22
0
void SysTick_Handler(void)
{
  HAL_IncTick();
  xPortSysTickHandler();
}
Exemplo n.º 23
0
void systick_isr() {
  systick_millis_count++;
  if (sysTickEnabled) xPortSysTickHandler();
}