62#if defined(HAL_SD_MODULE_ENABLED) || defined(HAL_QSPI_MODULE_ENABLED)
69#define DLYB_TIMEOUT 0xFFU
105 uint32_t sel_current;
106 uint32_t unit_current;
118 for (unit_current = 0U; unit_current <
DLYB_MAX_UNIT; unit_current++)
134 if ((DLYBx->
CFGR & lng_mask) != 0U)
143 if((DLYBx->
CFGR & lng_mask ) == 0U)
149 sel = sel_current + 1U;
#define DLYB_MAX_UNIT
Max UNIT value (128).
#define DLYB_MAX_SELECT
Max SELECT value (12).
HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *DLYBx)
HAL_StatusTypeDef DelayBlock_Disable(DLYB_TypeDef *DLYBx)
HAL_StatusTypeDef DelayBlock_Configure(DLYB_TypeDef *DLYBx, uint32_t PhaseSel, uint32_t Units)
uint32_t HAL_GetTick(void)
Provides a tick value in millisecond.
#define DLYB_CR_SEN
Sampler length enable.
#define DLYB_CR_DEN
Delay Block enable.
#define DLYB_CFGR_UNIT_Pos
#define DLYB_CFGR_LNG_0
0x00010000
#define DLYB_CFGR_LNGF
Length valid flag.
This file contains all the functions prototypes for the HAL module driver.
HAL_StatusTypeDef
HAL Status structures definition.
__IO uint32_t CR
DELAY BLOCK control register, Address offset: 0x00.
__IO uint32_t CFGR
DELAY BLOCK configuration register, Address offset: 0x04.