本文整理汇总了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);//坐标系打点计数
}
示例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
}
示例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();
}
示例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();
}
示例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--;
}
示例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);
}
示例7: SysTick_Handler
void SysTick_Handler(void)
{
mSysTick ++;
usart_timeout(0, 0);
usart_timeout(1, 0);
TimingDelay_Decrement();
}
示例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 ++;
}
}
示例9: SysTick_Handler
void SysTick_Handler(void)
{
TimingDelay_Decrement();
systick++;
}
示例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
}
示例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();
}
示例12: SysTick_Handler
void SysTick_Handler(void)
{
TimingDelay_Decrement();
systick++;
if(systick % 1000 == 0)
{
DHCP_time_handler();
DNS_time_handler();
}
}
示例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();
}
示例14: SysTick_Handler
void SysTick_Handler(void)
{
TimingDelay_Decrement();
dhcp_1sec++;
if(dhcp_1sec>1000)
{
DHCP_time_handler();
dhcp_1sec =0;
}
}
示例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();
}