Lines Matching refs:DLYBx

110 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
159 assert_param(IS_DLYB_ALL_INSTANCE(DLYBx)); in LL_DLYB_GetClockPeriod()
162 SET_BIT(DLYBx->CR, DLYB_CR_SEN); in LL_DLYB_GetClockPeriod()
168 DLYBx->CFGR = DLYB_MAX_SELECT | (i << DLYB_CFGR_UNIT_Pos); in LL_DLYB_GetClockPeriod()
172 while ((DLYBx->CFGR & DLYB_CFGR_LNGF) == 0U) in LL_DLYB_GetClockPeriod()
177 if ((DLYBx->CFGR & DLYB_CFGR_LNGF) == 0U) in LL_DLYB_GetClockPeriod()
184 if ((DLYBx->CFGR & DLYB_LNG_10_0_MASK) != 0U) in LL_DLYB_GetClockPeriod()
186 if ((DLYBx->CFGR & (DLYB_CFGR_LNG_11 | DLYB_CFGR_LNG_10)) != DLYB_LNG_11_10_MASK) in LL_DLYB_GetClockPeriod()
198 lng = (DLYBx->CFGR & DLYB_CFGR_LNG) >> 16U; in LL_DLYB_GetClockPeriod()
210 CLEAR_BIT(DLYBx->CR, DLYB_CR_SEN); in LL_DLYB_GetClockPeriod()
217 CLEAR_BIT(DLYBx->CR, DLYB_CR_SEN); in LL_DLYB_GetClockPeriod()