Lines Matching refs:DLYBx
95 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()
138 DelayBlock_Disable(DLYBx); in DelayBlock_Enable()
148 HAL_StatusTypeDef DelayBlock_Disable(DLYB_TypeDef *DLYBx) in DelayBlock_Disable() argument
151 DLYBx->CR = 0; in DelayBlock_Disable()