Home
last modified time | relevance | path

Searched refs:SysTick (Results 1 – 25 of 35) sorted by relevance

12

/loramac-node-3.6.0-3.5.0/src/boards/mcu/saml21/hpl/systick/
Dhpl_systick.c54 SysTick->LOAD = (0xFFFFFF << SysTick_LOAD_RELOAD_Pos); in _system_time_init()
55 SysTick->CTRL = (1 << SysTick_CTRL_ENABLE_Pos) | (CONF_SYSTICK_TICKINT << SysTick_CTRL_TICKINT_Pos) in _system_time_init()
72 SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk; in _system_time_deinit()
81 return (system_time_t)SysTick->VAL; in _system_time_get()
102 SysTick->LOAD = 0xFFFFFF; in _delay_cycles()
103 SysTick->VAL = 0xFFFFFF; in _delay_cycles()
104 while (!(SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk)) in _delay_cycles()
109 SysTick->LOAD = buf; in _delay_cycles()
110 SysTick->VAL = buf; in _delay_cycles()
111 while (!(SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk)) in _delay_cycles()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_ll_cortex.h248 return ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == (SysTick_CTRL_COUNTFLAG_Msk)); in LL_SYSTICK_IsActiveCounterFlag()
263 SET_BIT(SysTick->CTRL, LL_SYSTICK_CLKSOURCE_HCLK); in LL_SYSTICK_SetClkSource()
267 CLEAR_BIT(SysTick->CTRL, LL_SYSTICK_CLKSOURCE_HCLK); in LL_SYSTICK_SetClkSource()
280 return READ_BIT(SysTick->CTRL, LL_SYSTICK_CLKSOURCE_HCLK); in LL_SYSTICK_GetClkSource()
290 SET_BIT(SysTick->CTRL, SysTick_CTRL_TICKINT_Msk); in LL_SYSTICK_EnableIT()
300 CLEAR_BIT(SysTick->CTRL, SysTick_CTRL_TICKINT_Msk); in LL_SYSTICK_DisableIT()
310 return (READ_BIT(SysTick->CTRL, SysTick_CTRL_TICKINT_Msk) == (SysTick_CTRL_TICKINT_Msk)); in LL_SYSTICK_IsEnabledIT()
Dstm32l1xx_ll_utils.h241 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
242 SysTick->VAL = 0UL; /* Load the SysTick Counter Value */ in LL_InitTick()
243 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in LL_InitTick()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_cortex.h248 return ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == (SysTick_CTRL_COUNTFLAG_Msk)); in LL_SYSTICK_IsActiveCounterFlag()
263 SET_BIT(SysTick->CTRL, LL_SYSTICK_CLKSOURCE_HCLK); in LL_SYSTICK_SetClkSource()
267 CLEAR_BIT(SysTick->CTRL, LL_SYSTICK_CLKSOURCE_HCLK); in LL_SYSTICK_SetClkSource()
280 return READ_BIT(SysTick->CTRL, LL_SYSTICK_CLKSOURCE_HCLK); in LL_SYSTICK_GetClkSource()
290 SET_BIT(SysTick->CTRL, SysTick_CTRL_TICKINT_Msk); in LL_SYSTICK_EnableIT()
300 CLEAR_BIT(SysTick->CTRL, SysTick_CTRL_TICKINT_Msk); in LL_SYSTICK_DisableIT()
310 return (READ_BIT(SysTick->CTRL, SysTick_CTRL_TICKINT_Msk) == (SysTick_CTRL_TICKINT_Msk)); in LL_SYSTICK_IsEnabledIT()
Dstm32l4xx_ll_utils.h298 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
299 SysTick->VAL = 0UL; /* Load the SysTick Counter Value */ in LL_InitTick()
300 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in LL_InitTick()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_ll_cortex.h237 return ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) == (SysTick_CTRL_COUNTFLAG_Msk)); in LL_SYSTICK_IsActiveCounterFlag()
252 SET_BIT(SysTick->CTRL, LL_SYSTICK_CLKSOURCE_HCLK); in LL_SYSTICK_SetClkSource()
256 CLEAR_BIT(SysTick->CTRL, LL_SYSTICK_CLKSOURCE_HCLK); in LL_SYSTICK_SetClkSource()
269 return READ_BIT(SysTick->CTRL, LL_SYSTICK_CLKSOURCE_HCLK); in LL_SYSTICK_GetClkSource()
279 SET_BIT(SysTick->CTRL, SysTick_CTRL_TICKINT_Msk); in LL_SYSTICK_EnableIT()
289 CLEAR_BIT(SysTick->CTRL, SysTick_CTRL_TICKINT_Msk); in LL_SYSTICK_DisableIT()
299 return (READ_BIT(SysTick->CTRL, SysTick_CTRL_TICKINT_Msk) == (SysTick_CTRL_TICKINT_Msk)); in LL_SYSTICK_IsEnabledIT()
Dstm32l0xx_ll_utils.h239 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
240 SysTick->VAL = 0UL; /* Load the SysTick Counter Value */ in LL_InitTick()
241 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in LL_InitTick()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/saml21/cmsis/
Dcore_cm0.h504 #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st… macro
689 SysTick->LOAD = ticks - 1; /* set reload register */ in SysTick_Config()
691 SysTick->VAL = 0; /* Load the SysTick Counter Value */ in SysTick_Config()
692 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
Dcore_cm0plus.h611 #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st… macro
800 SysTick->LOAD = ticks - 1; /* set reload register */ in SysTick_Config()
802 SysTick->VAL = 0; /* Load the SysTick Counter Value */ in SysTick_Config()
803 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
Dcore_sc000.h631 #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st… macro
820 SysTick->LOAD = ticks - 1; /* set reload register */ in SysTick_Config()
822 SysTick->VAL = 0; /* Load the SysTick Counter Value */ in SysTick_Config()
823 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
Dcore_cm3.h1265 #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st… macro
1556 SysTick->LOAD = ticks - 1; /* set reload register */ in SysTick_Config()
1558 SysTick->VAL = 0; /* Load the SysTick Counter Value */ in SysTick_Config()
1559 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
Dcore_sc300.h1245 #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st… macro
1536 SysTick->LOAD = ticks - 1; /* set reload register */ in SysTick_Config()
1538 SysTick->VAL = 0; /* Load the SysTick Counter Value */ in SysTick_Config()
1539 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal.c335 CLEAR_BIT(SysTick->CTRL,SysTick_CTRL_TICKINT_Msk); in HAL_SuspendTick()
351 SET_BIT(SysTick->CTRL,SysTick_CTRL_TICKINT_Msk); in HAL_ResumeTick()
Dstm32l1xx_hal_cortex.c484 SysTick->CTRL |= SYSTICK_CLKSOURCE_HCLK; in HAL_SYSTICK_CLKSourceConfig()
488 SysTick->CTRL &= ~SYSTICK_CLKSOURCE_HCLK; in HAL_SYSTICK_CLKSourceConfig()
Dstm32l1xx_ll_utils.c184 __IO uint32_t tmp = SysTick->CTRL; /* Clear the COUNTFLAG first */ in LL_mDelay()
196 if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) != 0U) in LL_mDelay()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/cmsis/
Dcore_cm0.h588 #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st… macro
776 SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in SysTick_Config()
778SysTick->VAL = 0UL; /* Load the SysTick Counter Valu… in SysTick_Config()
779 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
Dcore_cm0plus.h700 #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st… macro
892 SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in SysTick_Config()
894SysTick->VAL = 0UL; /* Load the SysTick Counter Valu… in SysTick_Config()
895 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
Dcore_sc000.h712 #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st… macro
904 SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in SysTick_Config()
906SysTick->VAL = 0UL; /* Load the SysTick Counter Valu… in SysTick_Config()
907 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
Dcore_cm3.h1375 #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st… macro
1663 SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in SysTick_Config()
1665SysTick->VAL = 0UL; /* Load the SysTick Counter Valu… in SysTick_Config()
1666 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_cortex.c301 SysTick->CTRL |= SYSTICK_CLKSOURCE_HCLK; in HAL_SYSTICK_CLKSourceConfig()
305 SysTick->CTRL &= ~SYSTICK_CLKSOURCE_HCLK; in HAL_SYSTICK_CLKSourceConfig()
Dstm32l0xx_hal.c353 SysTick->CTRL &= ~SysTick_CTRL_TICKINT_Msk; in HAL_SuspendTick()
369 SysTick->CTRL |= SysTick_CTRL_TICKINT_Msk; in HAL_ResumeTick()
Dstm32l0xx_ll_utils.c182 __IO uint32_t tmp = SysTick->CTRL; /* Clear the COUNTFLAG first */ in LL_mDelay()
194 if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) != 0U) in LL_mDelay()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_cortex.c407 SysTick->CTRL |= SYSTICK_CLKSOURCE_HCLK; in HAL_SYSTICK_CLKSourceConfig()
411 SysTick->CTRL &= ~SYSTICK_CLKSOURCE_HCLK; in HAL_SYSTICK_CLKSourceConfig()
Dstm32l4xx_hal.c381 SysTick->CTRL &= ~SysTick_CTRL_TICKINT_Msk; in HAL_SuspendTick()
397 SysTick->CTRL |= SysTick_CTRL_TICKINT_Msk; in HAL_ResumeTick()
/loramac-node-3.6.0-3.5.0/src/boards/SAMR34/
Dboard.c77 delay_init( SysTick ); in BoardInitMcu()

12