Home
last modified time | relevance | path

Searched refs:CTRL (Results 1 – 25 of 39) sorted by relevance

12

/loramac-node-3.4.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()
509 WRITE_REG(MPU->CTRL, (MPU_CTRL_ENABLE_Msk | Options)); in LL_MPU_Enable()
526 WRITE_REG(MPU->CTRL, 0U); in LL_MPU_Disable()
536 return (READ_BIT(MPU->CTRL, MPU_CTRL_ENABLE_Msk) == (MPU_CTRL_ENABLE_Msk)); in LL_MPU_IsEnabled()
Dstm32l1xx_ll_utils.h243 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in LL_InitTick()
/loramac-node-3.4.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()
509 WRITE_REG(MPU->CTRL, (MPU_CTRL_ENABLE_Msk | Options)); in LL_MPU_Enable()
526 WRITE_REG(MPU->CTRL, 0U); in LL_MPU_Disable()
536 return (READ_BIT(MPU->CTRL, MPU_CTRL_ENABLE_Msk) == (MPU_CTRL_ENABLE_Msk)); in LL_MPU_IsEnabled()
Dstm32l4xx_ll_utils.h300 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in LL_InitTick()
/loramac-node-3.4.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()
460 WRITE_REG(MPU->CTRL, (MPU_CTRL_ENABLE_Msk | Options)); in LL_MPU_Enable()
477 WRITE_REG(MPU->CTRL, 0U); in LL_MPU_Disable()
487 return (READ_BIT(MPU->CTRL, MPU_CTRL_ENABLE_Msk) == (MPU_CTRL_ENABLE_Msk)); in LL_MPU_IsEnabled()
Dstm32l0xx_hal_cortex.h273 MPU->CTRL = 0; in HAL_MPU_Disable()
291 MPU->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk; in HAL_MPU_Enable()
Dstm32l0xx_ll_utils.h241 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in LL_InitTick()
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/systick/
Dhpl_systick.c55 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()
104 while (!(SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk)) in _delay_cycles()
111 while (!(SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk)) in _delay_cycles()
/loramac-node-3.4.0/src/boards/mcu/saml21/hri/
Dhri_ccl_l21.h69 ((Ccl *)hw)->CTRL.reg |= CCL_CTRL_SWRST; in hri_ccl_set_CTRL_SWRST_bit()
76 tmp = ((Ccl *)hw)->CTRL.reg; in hri_ccl_get_CTRL_SWRST_bit()
84 ((Ccl *)hw)->CTRL.reg |= CCL_CTRL_ENABLE; in hri_ccl_set_CTRL_ENABLE_bit()
91 tmp = ((Ccl *)hw)->CTRL.reg; in hri_ccl_get_CTRL_ENABLE_bit()
100 tmp = ((Ccl *)hw)->CTRL.reg; in hri_ccl_write_CTRL_ENABLE_bit()
103 ((Ccl *)hw)->CTRL.reg = tmp; in hri_ccl_write_CTRL_ENABLE_bit()
110 ((Ccl *)hw)->CTRL.reg &= ~CCL_CTRL_ENABLE; in hri_ccl_clear_CTRL_ENABLE_bit()
117 ((Ccl *)hw)->CTRL.reg ^= CCL_CTRL_ENABLE; in hri_ccl_toggle_CTRL_ENABLE_bit()
124 ((Ccl *)hw)->CTRL.reg |= CCL_CTRL_RUNSTDBY; in hri_ccl_set_CTRL_RUNSTDBY_bit()
131 tmp = ((Ccl *)hw)->CTRL.reg; in hri_ccl_get_CTRL_RUNSTDBY_bit()
[all …]
Dhri_dmac_l21.h272 ((Dmac *)hw)->CTRL.reg |= DMAC_CTRL_SWRST; in hri_dmac_set_CTRL_SWRST_bit()
279 tmp = ((Dmac *)hw)->CTRL.reg; in hri_dmac_get_CTRL_SWRST_bit()
287 ((Dmac *)hw)->CTRL.reg |= DMAC_CTRL_DMAENABLE; in hri_dmac_set_CTRL_DMAENABLE_bit()
294 tmp = ((Dmac *)hw)->CTRL.reg; in hri_dmac_get_CTRL_DMAENABLE_bit()
303 tmp = ((Dmac *)hw)->CTRL.reg; in hri_dmac_write_CTRL_DMAENABLE_bit()
306 ((Dmac *)hw)->CTRL.reg = tmp; in hri_dmac_write_CTRL_DMAENABLE_bit()
313 ((Dmac *)hw)->CTRL.reg &= ~DMAC_CTRL_DMAENABLE; in hri_dmac_clear_CTRL_DMAENABLE_bit()
320 ((Dmac *)hw)->CTRL.reg ^= DMAC_CTRL_DMAENABLE; in hri_dmac_toggle_CTRL_DMAENABLE_bit()
327 ((Dmac *)hw)->CTRL.reg |= DMAC_CTRL_CRCENABLE; in hri_dmac_set_CTRL_CRCENABLE_bit()
334 tmp = ((Dmac *)hw)->CTRL.reg; in hri_dmac_get_CTRL_CRCENABLE_bit()
[all …]
Dhri_port_l21.h231 ((PortGroup *)hw)->CTRL.reg |= PORT_CTRL_SAMPLING(mask); in hri_portgroup_set_CTRL_SAMPLING_bf()
238 tmp = ((PortGroup *)hw)->CTRL.reg; in hri_portgroup_get_CTRL_SAMPLING_bf()
247 tmp = ((PortGroup *)hw)->CTRL.reg; in hri_portgroup_write_CTRL_SAMPLING_bf()
250 ((PortGroup *)hw)->CTRL.reg = tmp; in hri_portgroup_write_CTRL_SAMPLING_bf()
257 ((PortGroup *)hw)->CTRL.reg &= ~PORT_CTRL_SAMPLING(mask); in hri_portgroup_clear_CTRL_SAMPLING_bf()
264 ((PortGroup *)hw)->CTRL.reg ^= PORT_CTRL_SAMPLING(mask); in hri_portgroup_toggle_CTRL_SAMPLING_bf()
271 tmp = ((PortGroup *)hw)->CTRL.reg; in hri_portgroup_read_CTRL_SAMPLING_bf()
279 ((PortGroup *)hw)->CTRL.reg |= mask; in hri_portgroup_set_CTRL_reg()
286 tmp = ((PortGroup *)hw)->CTRL.reg; in hri_portgroup_get_CTRL_reg()
294 ((PortGroup *)hw)->CTRL.reg = data; in hri_portgroup_write_CTRL_reg()
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_cortex.c310 MPU->CTRL = (MPU_Control | MPU_CTRL_ENABLE_Msk); in HAL_MPU_Enable()
327 MPU->CTRL = 0; in HAL_MPU_Disable()
484 SysTick->CTRL |= SYSTICK_CLKSOURCE_HCLK; in HAL_SYSTICK_CLKSourceConfig()
488 SysTick->CTRL &= ~SYSTICK_CLKSOURCE_HCLK; in HAL_SYSTICK_CLKSourceConfig()
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_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.4.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()
449 MPU->CTRL = 0U; in HAL_MPU_Disable()
466 MPU->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk; in HAL_MPU_Enable()
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.4.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.4.0/src/boards/mcu/saml21/cmsis/
Dcore_cm0plus.h462 …__IO uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regist… member
513 …__IO uint32_t CTRL; /*!< Offset: 0x004 (R/W) MPU Control Register … member
803 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
Dcore_sc000.h481 …__IO uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regist… member
532 …__IO uint32_t CTRL; /*!< Offset: 0x004 (R/W) MPU Control Register … member
823 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
Dcore_cm0.h441 …__IO uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regist… member
692 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
/loramac-node-3.4.0/src/boards/mcu/stm32/cmsis/
Dcore_cm0plus.h522 …__IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regist… member
575 __IOM uint32_t CTRL; /*!< Offset: 0x004 (R/W) MPU Control Register */ member
895 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
Dcore_sc000.h533 …__IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regist… member
586 __IOM uint32_t CTRL; /*!< Offset: 0x004 (R/W) MPU Control Register */ member
907 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()
Dcore_cm0.h498 …__IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regist… member
779 SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | in SysTick_Config()

12