Home
last modified time | relevance | path

Searched refs:CRS (Results 1 – 15 of 15) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_ll_crs.h51 #if defined(CRS)
254 SET_BIT(CRS->CR, CRS_CR_CEN); in LL_CRS_EnableFreqErrorCounter()
264 CLEAR_BIT(CRS->CR, CRS_CR_CEN); in LL_CRS_DisableFreqErrorCounter()
274 return (READ_BIT(CRS->CR, CRS_CR_CEN) == (CRS_CR_CEN)); in LL_CRS_IsEnabledFreqErrorCounter()
284 SET_BIT(CRS->CR, CRS_CR_AUTOTRIMEN); in LL_CRS_EnableAutoTrimming()
294 CLEAR_BIT(CRS->CR, CRS_CR_AUTOTRIMEN); in LL_CRS_DisableAutoTrimming()
304 return (READ_BIT(CRS->CR, CRS_CR_AUTOTRIMEN) == (CRS_CR_AUTOTRIMEN)); in LL_CRS_IsEnabledAutoTrimming()
317 MODIFY_REG(CRS->CR, CRS_CR_TRIM, Value << CRS_POSITION_TRIM); in LL_CRS_SetHSI48SmoothTrimming()
327 return (uint32_t)(READ_BIT(CRS->CR, CRS_CR_TRIM) >> CRS_POSITION_TRIM); in LL_CRS_GetHSI48SmoothTrimming()
340 MODIFY_REG(CRS->CFGR, CRS_CFGR_RELOAD, Value); in LL_CRS_SetReloadCounter()
[all …]
Dstm32l0xx_hal_rcc_ex.h60 #if defined(CRS)
160 #if defined(CRS)
229 #if defined (CRS)
461 #if defined(CRS)
1741 #if defined(CRS)
1752 #define __HAL_RCC_CRS_ENABLE_IT(__INTERRUPT__) SET_BIT(CRS->CR, (__INTERRUPT__))
1764 #define __HAL_RCC_CRS_DISABLE_IT(__INTERRUPT__) CLEAR_BIT(CRS->CR,(__INTERRUPT__))
1775 #define __HAL_RCC_CRS_GET_IT_SOURCE(__INTERRUPT__) ((CRS->CR & (__INTERRUPT__))? SET : RESET)
1792 … WRITE_REG(CRS->ICR, CRS_ICR_ERRC | ((__INTERRUPT__) & ~RCC_CRS_IT_ERROR_MASK)); \
1796 WRITE_REG(CRS->ICR, (__INTERRUPT__)); \
[all …]
Dstm32l0xx_ll_bus.h145 #if defined(CRS)
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_crs.h51 #if defined(CRS)
244 SET_BIT(CRS->CR, CRS_CR_CEN); in LL_CRS_EnableFreqErrorCounter()
254 CLEAR_BIT(CRS->CR, CRS_CR_CEN); in LL_CRS_DisableFreqErrorCounter()
264 return (READ_BIT(CRS->CR, CRS_CR_CEN) == (CRS_CR_CEN)); in LL_CRS_IsEnabledFreqErrorCounter()
274 SET_BIT(CRS->CR, CRS_CR_AUTOTRIMEN); in LL_CRS_EnableAutoTrimming()
284 CLEAR_BIT(CRS->CR, CRS_CR_AUTOTRIMEN); in LL_CRS_DisableAutoTrimming()
294 return (READ_BIT(CRS->CR, CRS_CR_AUTOTRIMEN) == (CRS_CR_AUTOTRIMEN)); in LL_CRS_IsEnabledAutoTrimming()
307 MODIFY_REG(CRS->CR, CRS_CR_TRIM, Value << CRS_CR_TRIM_Pos); in LL_CRS_SetHSI48SmoothTrimming()
317 return (uint32_t)(READ_BIT(CRS->CR, CRS_CR_TRIM) >> CRS_CR_TRIM_Pos); in LL_CRS_GetHSI48SmoothTrimming()
330 MODIFY_REG(CRS->CFGR, CRS_CFGR_RELOAD, Value); in LL_CRS_SetReloadCounter()
[all …]
Dstm32l4xx_hal_rcc_ex.h288 #if defined(CRS)
761 #if defined(CRS)
2206 #if defined(CRS)
2218 #define __HAL_RCC_CRS_ENABLE_IT(__INTERRUPT__) SET_BIT(CRS->CR, (__INTERRUPT__))
2230 #define __HAL_RCC_CRS_DISABLE_IT(__INTERRUPT__) CLEAR_BIT(CRS->CR, (__INTERRUPT__))
2241 #define __HAL_RCC_CRS_GET_IT_SOURCE(__INTERRUPT__) ((READ_BIT(CRS->CR, (__INTERRUPT__)) != 0U) ? S…
2260 … WRITE_REG(CRS->ICR, CRS_ICR_ERRC | ((__INTERRUPT__) & ~RCC_CRS_IT_ERROR_MASK)); \
2264 WRITE_REG(CRS->ICR, (__INTERRUPT__)); \
2281 #define __HAL_RCC_CRS_GET_FLAG(__FLAG__) (READ_BIT(CRS->ISR, (__FLAG__)) == (__FLAG__))
2304 … WRITE_REG(CRS->ICR, CRS_ICR_ERRC | ((__FLAG__) & ~RCC_CRS_FLAG_ERROR_MASK)); \
[all …]
Dstm32l4xx_hal_rcc.h1233 #if defined(CRS)
1396 #if defined(CRS)
1894 #if defined(CRS)
1993 #if defined(CRS)
2424 #if defined(CRS)
2519 #if defined(CRS)
2976 #if defined(CRS)
3075 #if defined(CRS)
3534 #if defined(CRS)
3633 #if defined(CRS)
Dstm32l4xx_ll_bus.h223 #if defined(CRS)
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_rcc_ex.c60 #if defined (CRS)
791 #if defined (CRS)
888 WRITE_REG(CRS->CFGR, value); in HAL_RCCEx_CRSConfig()
892 MODIFY_REG(CRS->CR, CRS_CR_TRIM, (pInit->HSI48CalibrationValue << CRS_CR_TRIM_BITNUMBER)); in HAL_RCCEx_CRSConfig()
897 SET_BIT(CRS->CR, CRS_CR_AUTOTRIMEN | CRS_CR_CEN); in HAL_RCCEx_CRSConfig()
906 SET_BIT(CRS->CR, CRS_CR_SWSYNC); in HAL_RCCEx_CRSSoftwareSynchronizationGenerate()
920 pSynchroInfo->ReloadValue = (uint32_t)(READ_BIT(CRS->CFGR, CRS_CFGR_RELOAD)); in HAL_RCCEx_CRSGetSynchronizationInfo()
923 …pSynchroInfo->HSI48CalibrationValue = (uint32_t)(READ_BIT(CRS->CR, CRS_CR_TRIM) >> CRS_CR_TRIM_BIT… in HAL_RCCEx_CRSGetSynchronizationInfo()
926 …pSynchroInfo->FreqErrorCapture = (uint32_t)(READ_BIT(CRS->ISR, CRS_ISR_FECAP) >> CRS_ISR_FECAP_BIT… in HAL_RCCEx_CRSGetSynchronizationInfo()
929 pSynchroInfo->FreqErrorDirection = (uint32_t)(READ_BIT(CRS->ISR, CRS_ISR_FEDIR)); in HAL_RCCEx_CRSGetSynchronizationInfo()
[all …]
Dstm32l0xx_ll_crs.c45 #if defined(CRS)
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rcc_ex.c2498 #if defined(CRS)
2595 WRITE_REG(CRS->CFGR, value); in HAL_RCCEx_CRSConfig()
2600 MODIFY_REG(CRS->CR, CRS_CR_TRIM, (pInit->HSI48CalibrationValue << CRS_CR_TRIM_Pos)); in HAL_RCCEx_CRSConfig()
2605 SET_BIT(CRS->CR, CRS_CR_AUTOTRIMEN | CRS_CR_CEN); in HAL_RCCEx_CRSConfig()
2614 SET_BIT(CRS->CR, CRS_CR_SWSYNC); in HAL_RCCEx_CRSSoftwareSynchronizationGenerate()
2628 pSynchroInfo->ReloadValue = (READ_BIT(CRS->CFGR, CRS_CFGR_RELOAD)); in HAL_RCCEx_CRSGetSynchronizationInfo()
2631 pSynchroInfo->HSI48CalibrationValue = (READ_BIT(CRS->CR, CRS_CR_TRIM) >> CRS_CR_TRIM_Pos); in HAL_RCCEx_CRSGetSynchronizationInfo()
2634 pSynchroInfo->FreqErrorCapture = (READ_BIT(CRS->ISR, CRS_ISR_FECAP) >> CRS_ISR_FECAP_Pos); in HAL_RCCEx_CRSGetSynchronizationInfo()
2637 pSynchroInfo->FreqErrorDirection = (READ_BIT(CRS->ISR, CRS_ISR_FEDIR)); in HAL_RCCEx_CRSGetSynchronizationInfo()
2742 uint32_t itflags = READ_REG(CRS->ISR); in HAL_RCCEx_CRS_IRQHandler()
[all …]
Dstm32l4xx_ll_crs.c45 #if defined(CRS)
/loramac-node-3.4.0/src/boards/NucleoL073/cmsis/arm-std/
Dstartup_stm32l073xx.s97 DCD RCC_CRS_IRQHandler ; RCC and CRS
/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/cmsis/arm-std/
Dstartup_stm32l072xx.s97 DCD RCC_CRS_IRQHandler ; RCC and CRS
/loramac-node-3.4.0/src/boards/NucleoL073/cmsis/
Dstm32l073xx.h744 #define CRS ((CRS_TypeDef *) CRS_BASE) macro
/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/cmsis/
Dstm32l072xx.h729 #define CRS ((CRS_TypeDef *) CRS_BASE) macro