当前位置: 首页>>代码示例>>C++>>正文


C++ TimingDelay_Decrement函数代码示例

本文整理汇总了C++中TimingDelay_Decrement函数的典型用法代码示例。如果您正苦于以下问题:C++ TimingDelay_Decrement函数的具体用法?C++ TimingDelay_Decrement怎么用?C++ TimingDelay_Decrement使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了TimingDelay_Decrement函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: SysTick_Handler

void SysTick_Handler(void)
{
	__IO static uint16_t tick_cnt = 0;
	__IO static uint16_t tick_cnt1 = 0;

	tick_cnt++;
	tick_cnt1++;

	if (tick_cnt >= 2)
	{
		tick_cnt = 0;
		tick_20ms = SET;	
	}
	if (tick_cnt1 >= 10)
	{
		tick_cnt1 = 0;
		tick_100ms = SET;	 
	}
	
	tick_10ms = SET;
	tick_10ms_putin = SET;
	tick_10ms_refresh = SET;	
	tick_10ms_key = SET;
	
	TimingDelay_Decrement(&LssuedParameterWait);//下发参数等待时间
	TimingDelay_Decrement(&CoordinatePoint);//坐标系打点计数
}
开发者ID:dasuimao,项目名称:DTS-2500_HMI0021_MANUAL,代码行数:27,代码来源:main.c

示例2: SysTick_Handler

/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
	/*  TimingDelay_Decrement(); */
#ifdef USE_STM32L_DISCOVERY
  TimingDelay_Decrement();
#endif
}
开发者ID:itanderson,项目名称:CellUpload,代码行数:12,代码来源:stm32l1xx_it.c

示例3: SysTick_Handler

/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
//  /* Toggle leds available on STM32F429I-DISCO */
//  STM_EVAL_LEDToggle(LED3);
//  STM_EVAL_LEDToggle(LED4);
  TimingDelay_Decrement();
}
开发者ID:flv1991,项目名称:STM32_LAMEC_CAN,代码行数:12,代码来源:stm32f4xx_it.c

示例4: SysTick_Handler

/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
if(demo_mode == 0)
  xPortSysTickHandler();
else  
  TimingDelay_Decrement();
}
开发者ID:descent,项目名称:STM32f429I-Discovery_Demo,代码行数:12,代码来源:stm32xxx_it.c

示例5: SysTick_Handler

/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
	TimingDelay_Decrement();
	
	if(USART1_usartRxTimer) USART1_usartRxTimer--;
	if(USART2_usartRxTimer) USART2_usartRxTimer--;
}
开发者ID:remidebord,项目名称:STM32F0,代码行数:12,代码来源:stm32f0xx_it.c

示例6: SysTick_Handler

/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval : None
  */
void SysTick_Handler(void)
{
    TimingDelay_Decrement();
// 	if(GPIO_ReadInputDataBit(GPIOD,GPIO_Pin_2) == 0) GPIO_SetBits(GPIOD,GPIO_Pin_2);
// 	else GPIO_ResetBits(GPIOD,GPIO_Pin_2);


}
开发者ID:skyterrace,项目名称:SCYZ,代码行数:13,代码来源:stm32f10x_it.c

示例7: SysTick_Handler

void SysTick_Handler(void)
{
    mSysTick ++;

    usart_timeout(0, 0);
    usart_timeout(1, 0);
	TimingDelay_Decrement();
}
开发者ID:fidiaslothes,项目名称:stm32gps,代码行数:8,代码来源:stm32f10x_it.c

示例8: SysTick_Handler

/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
  TimingDelay_Decrement();
//  if ( Command_index == 1)
  {
    Time_Rec_Base ++;
  }
}
开发者ID:4RESTER,项目名称:codec2_m4f,代码行数:13,代码来源:stm32f4xx_it.c

示例9: SysTick_Handler

void SysTick_Handler(void)

{

   TimingDelay_Decrement();

   systick++;

}
开发者ID:kapooo,项目名称:AssoSTM32,代码行数:9,代码来源:stm32f10x_it.c

示例10: SysTick_Handler

/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
  TimingDelay_Decrement();
#if defined MEDIA_USB_KEY
  if ( Command_index == 1)
  {
    Time_Rec_Base ++;
  }
#endif
}
开发者ID:0x00f,项目名称:stm32,代码行数:15,代码来源:stm32f4xx_it.c

示例11: SysTick_Handler

/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
  uint8_t *buf;
  uint8_t temp1, temp2 = 0x00;
  

    TimingDelay_Decrement();

  
}
开发者ID:fboris,项目名称:stm32_RTC_demo,代码行数:15,代码来源:stm32f4xx_it.c

示例12: SysTick_Handler

void SysTick_Handler(void)
{
	TimingDelay_Decrement();
	systick++;
	if(systick % 1000 == 0) 
	{
		DHCP_time_handler();
		DNS_time_handler();
	}

}
开发者ID:alenyashka,项目名称:W7500,代码行数:11,代码来源:W7500x_it.c

示例13: SysTick_Handler

/**
  * @brief  This function handles SysTick Handler.
  * @param  None
  * @retval None
  */
void SysTick_Handler(void)
{
/* System Heart Beat every 100 msec */
  if(ulHeartBeat)
  {
    ulHeartBeat--;
  }
  else
  {
    STM_EVAL_LEDToggle(LED4);
    ulHeartBeat = 100;
  }

  if(AdcTempSenTest)
  {
    if(AdcDelay)
    {
      AdcDelay--;
    }
    else
    {
      STM_EVAL_LEDToggle(LED5); 
		  AdcDelay = 100;
    }
  }
  if(IT_AdcTempSenTest)
  {
    if(IT_AdcDelay)
    {
      IT_AdcDelay--;
    }
    else
    {
      STM_EVAL_LEDToggle(LED6); 
		  IT_AdcDelay = 100;
    }
  }

  if(NeopixelRingStart)
  {
    if(NeopixelRingTimer)
    {
      NeopixelRingTimer--;
    }
    else
    {
      STM_EVAL_LEDToggle(LED6); 
		  NeopixelRingTimer = RING_TIMER;
      NeopixelRingWorker();
    }
  }

  TimingDelay_Decrement();
}
开发者ID:jagdishsanghani,项目名称:F407,代码行数:59,代码来源:stm32f4xx_it.c

示例14: SysTick_Handler

void SysTick_Handler(void)
{
	TimingDelay_Decrement();
	dhcp_1sec++;
	if(dhcp_1sec>1000)
	{
		DHCP_time_handler();
		dhcp_1sec =0;
	}

}
开发者ID:Wiznet,项目名称:W7500P,代码行数:11,代码来源:W7500x_it.c

示例15: SysTick_Handler

/**
* @brief  This function handles SysTick Handler.
* @param  None
* @retval None
*/
void SysTick_Handler(void)
{
	if(sysTick++ == 10000)
	{
		sysTick = 0;
		LEDstatus();
	}
	//SoftPWM();
	HardLEDPWM();
	TimingDelay_Decrement();
}
开发者ID:namnguyendsn,项目名称:jupiter_packet,代码行数:16,代码来源:stm32f10x_it.c


注:本文中的TimingDelay_Decrement函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。