Home
last modified time | relevance | path

Searched refs:DLYBx (Results 1 – 11 of 11) sorted by relevance

/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_dlyb.c110 void LL_DLYB_SetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_SetDelay() argument
113 assert_param(IS_DLYB_ALL_INSTANCE(DLYBx)); in LL_DLYB_SetDelay()
116 SET_BIT(DLYBx->CR, DLYB_CR_SEN); in LL_DLYB_SetDelay()
119 DLYBx->CFGR = (pdlyb_cfg->PhaseSel) | ((pdlyb_cfg->Units) << DLYB_CFGR_UNIT_Pos); in LL_DLYB_SetDelay()
122 CLEAR_BIT(DLYBx->CR, DLYB_CR_SEN); in LL_DLYB_SetDelay()
133 void LL_DLYB_GetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_GetDelay() argument
136 assert_param(IS_DLYB_ALL_INSTANCE(DLYBx)); in LL_DLYB_GetDelay()
139 pdlyb_cfg->Units = ((DLYBx->CFGR & DLYB_CFGR_UNIT) >> DLYB_CFGR_UNIT_Pos); in LL_DLYB_GetDelay()
140 pdlyb_cfg->PhaseSel = (DLYBx->CFGR & DLYB_CFGR_SEL); in LL_DLYB_GetDelay()
151 uint32_t LL_DLYB_GetClockPeriod(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_GetClockPeriod() argument
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_ll_dlyb.c110 void LL_DLYB_SetDelay(DLYB_TypeDef *DLYBx, const LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_SetDelay() argument
113 assert_param(IS_DLYB_ALL_INSTANCE(DLYBx)); in LL_DLYB_SetDelay()
116 SET_BIT(DLYBx->CR, DLYB_CR_SEN); in LL_DLYB_SetDelay()
119 DLYBx->CFGR = (pdlyb_cfg->PhaseSel) | ((pdlyb_cfg->Units) << DLYB_CFGR_UNIT_Pos); in LL_DLYB_SetDelay()
122 CLEAR_BIT(DLYBx->CR, DLYB_CR_SEN); in LL_DLYB_SetDelay()
133 void LL_DLYB_GetDelay(const DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_GetDelay() argument
136 assert_param(IS_DLYB_ALL_INSTANCE(DLYBx)); in LL_DLYB_GetDelay()
139 pdlyb_cfg->Units = ((DLYBx->CFGR & DLYB_CFGR_UNIT) >> DLYB_CFGR_UNIT_Pos); in LL_DLYB_GetDelay()
140 pdlyb_cfg->PhaseSel = (DLYBx->CFGR & DLYB_CFGR_SEL); in LL_DLYB_GetDelay()
151 uint32_t LL_DLYB_GetClockPeriod(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_GetClockPeriod() argument
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_dlyb.c110 void LL_DLYB_SetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_SetDelay() argument
113 assert_param(IS_DLYB_ALL_INSTANCE(DLYBx)); in LL_DLYB_SetDelay()
116 SET_BIT(DLYBx->CR, DLYB_CR_SEN); in LL_DLYB_SetDelay()
119 DLYBx->CFGR = (pdlyb_cfg->PhaseSel) | ((pdlyb_cfg->Units) << DLYB_CFGR_UNIT_Pos); in LL_DLYB_SetDelay()
122 CLEAR_BIT(DLYBx->CR, DLYB_CR_SEN); in LL_DLYB_SetDelay()
133 void LL_DLYB_GetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_GetDelay() argument
136 assert_param(IS_DLYB_ALL_INSTANCE(DLYBx)); in LL_DLYB_GetDelay()
139 pdlyb_cfg->Units = ((DLYBx->CFGR & DLYB_CFGR_UNIT) >> DLYB_CFGR_UNIT_Pos); in LL_DLYB_GetDelay()
140 pdlyb_cfg->PhaseSel = (DLYBx->CFGR & DLYB_CFGR_SEL); in LL_DLYB_GetDelay()
151 uint32_t LL_DLYB_GetClockPeriod(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_GetClockPeriod() argument
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_ll_dlyb.c110 void LL_DLYB_SetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_SetDelay() argument
113 assert_param(IS_DLYB_ALL_INSTANCE(DLYBx)); in LL_DLYB_SetDelay()
116 SET_BIT(DLYBx->CR, DLYB_CR_SEN); in LL_DLYB_SetDelay()
119 DLYBx->CFGR = (pdlyb_cfg->PhaseSel) | ((pdlyb_cfg->Units) << DLYB_CFGR_UNIT_Pos); in LL_DLYB_SetDelay()
122 CLEAR_BIT(DLYBx->CR, DLYB_CR_SEN); in LL_DLYB_SetDelay()
133 void LL_DLYB_GetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_GetDelay() argument
136 assert_param(IS_DLYB_ALL_INSTANCE(DLYBx)); in LL_DLYB_GetDelay()
139 pdlyb_cfg->Units = ((DLYBx->CFGR & DLYB_CFGR_UNIT) >> DLYB_CFGR_UNIT_Pos); in LL_DLYB_GetDelay()
140 pdlyb_cfg->PhaseSel = (DLYBx->CFGR & DLYB_CFGR_SEL); in LL_DLYB_GetDelay()
151 uint32_t LL_DLYB_GetClockPeriod(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg) in LL_DLYB_GetClockPeriod() argument
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_delayblock.c101 HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *DLYBx) in DelayBlock_Enable() argument
111 DLYBx->CR = DLYB_CR_DEN | DLYB_CR_SEN; in DelayBlock_Enable()
121 DLYBx->CFGR = DLYB_MAX_SELECT | (unit_current << DLYB_CFGR_UNIT_Pos); in DelayBlock_Enable()
125 while ((DLYBx->CFGR & DLYB_CFGR_LNGF) == 0U) in DelayBlock_Enable()
134 if ((DLYBx->CFGR & lng_mask) != 0U) in DelayBlock_Enable()
143 if((DLYBx->CFGR & lng_mask ) == 0U) in DelayBlock_Enable()
158 DLYBx->CR = 0U; in DelayBlock_Enable()
159 DLYBx->CR = DLYB_CR_DEN | DLYB_CR_SEN; in DelayBlock_Enable()
160 DLYBx->CFGR = sel | (unit << DLYB_CFGR_UNIT_Pos); in DelayBlock_Enable()
161 DLYBx->CR = DLYB_CR_DEN; in DelayBlock_Enable()
[all …]
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_ll_delayblock.c95 HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *DLYBx) in DelayBlock_Enable() argument
99 assert_param(IS_DLYB_ALL_INSTANCE(DLYBx)); in DelayBlock_Enable()
101 DLYBx->CR = DLYB_CR_DEN | DLYB_CR_SEN; in DelayBlock_Enable()
106 DLYBx->CFGR = 12 | (i << 8); in DelayBlock_Enable()
108 if(((DLYBx->CFGR & DLYB_CFGR_LNGF) != 0) in DelayBlock_Enable()
109 && ((DLYBx->CFGR & DLYB_CFGR_LNG) != 0) in DelayBlock_Enable()
110 && ((DLYBx->CFGR & DLYB_CFGR_LNG) != (DLYB_CFGR_LNG_11 | DLYB_CFGR_LNG_10))) in DelayBlock_Enable()
121 lng = (DLYBx->CFGR & DLYB_CFGR_LNG) >> 16; in DelayBlock_Enable()
129 MODIFY_REG(DLYBx->CFGR, DLYB_CFGR_SEL, ((N/2)+1)); in DelayBlock_Enable()
132 DLYBx->CR = DLYB_CR_DEN; in DelayBlock_Enable()
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/include/
Dstm32n6xx_ll_dlyb.h93 __STATIC_INLINE void LL_DLYB_Enable(DLYB_TypeDef *DLYBx) in LL_DLYB_Enable() argument
95 SET_BIT(DLYBx->CR, DLYB_CR_DEN); in LL_DLYB_Enable()
103 __STATIC_INLINE void LL_DLYB_Disable(DLYB_TypeDef *DLYBx) in LL_DLYB_Disable() argument
105 CLEAR_BIT(DLYBx->CR, DLYB_CR_DEN); in LL_DLYB_Disable()
116 void LL_DLYB_SetDelay(DLYB_TypeDef *DLYBx, const LL_DLYB_CfgTypeDef *pdlyb_cfg);
117 void LL_DLYB_GetDelay(const DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg);
118 uint32_t LL_DLYB_GetClockPeriod(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg);
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_ll_dlyb.h93 __STATIC_INLINE void LL_DLYB_Enable(DLYB_TypeDef *DLYBx) in LL_DLYB_Enable() argument
95 SET_BIT(DLYBx->CR, DLYB_CR_DEN); in LL_DLYB_Enable()
103 __STATIC_INLINE void LL_DLYB_Disable(DLYB_TypeDef *DLYBx) in LL_DLYB_Disable() argument
105 CLEAR_BIT(DLYBx->CR, DLYB_CR_DEN); in LL_DLYB_Disable()
116 void LL_DLYB_SetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg);
117 void LL_DLYB_GetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg);
118 uint32_t LL_DLYB_GetClockPeriod(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg);
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_dlyb.h93 __STATIC_INLINE void LL_DLYB_Enable(DLYB_TypeDef *DLYBx) in LL_DLYB_Enable() argument
95 SET_BIT(DLYBx->CR, DLYB_CR_DEN); in LL_DLYB_Enable()
103 __STATIC_INLINE void LL_DLYB_Disable(DLYB_TypeDef *DLYBx) in LL_DLYB_Disable() argument
105 CLEAR_BIT(DLYBx->CR, DLYB_CR_DEN); in LL_DLYB_Disable()
116 void LL_DLYB_SetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg);
117 void LL_DLYB_GetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg);
118 uint32_t LL_DLYB_GetClockPeriod(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg);
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/include/
Dstm32h7rsxx_ll_dlyb.h93 __STATIC_INLINE void LL_DLYB_Enable(DLYB_TypeDef *DLYBx) in LL_DLYB_Enable() argument
95 SET_BIT(DLYBx->CR, DLYB_CR_DEN); in LL_DLYB_Enable()
103 __STATIC_INLINE void LL_DLYB_Disable(DLYB_TypeDef *DLYBx) in LL_DLYB_Disable() argument
105 CLEAR_BIT(DLYBx->CR, DLYB_CR_DEN); in LL_DLYB_Disable()
116 void LL_DLYB_SetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg);
117 void LL_DLYB_GetDelay(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg);
118 uint32_t LL_DLYB_GetClockPeriod(DLYB_TypeDef *DLYBx, LL_DLYB_CfgTypeDef *pdlyb_cfg);
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_ll_delayblock.h69 HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *DLYBx);
70 HAL_StatusTypeDef DelayBlock_Disable(DLYB_TypeDef *DLYBx);
71 HAL_StatusTypeDef DelayBlock_Configure(DLYB_TypeDef *DLYBx, uint32_t PhaseSel, uint32_t Units);