Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 10 of 10) sorted by relevance

/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_fmac.c2159 uint16_t threshold; in FMAC_ReadDataIncrementPtr() local
2195 threshold = (uint16_t)FMAC_GET_THRESHOLD_FROM_WM(FMAC_GET_Y_EMPTY_WM(hfmac)) - 1U; in FMAC_ReadDataIncrementPtr()
2198 if ((hfmac->OutputCurrentSize + threshold) < maxsize) in FMAC_ReadDataIncrementPtr()
2200 maxsize = hfmac->OutputCurrentSize + threshold; in FMAC_ReadDataIncrementPtr()
2223 uint16_t threshold; in FMAC_WriteDataIncrementPtr() local
2257 threshold = (uint16_t)FMAC_GET_THRESHOLD_FROM_WM(FMAC_GET_X1_FULL_WM(hfmac)) - 1U; in FMAC_WriteDataIncrementPtr()
2260 if ((hfmac->InputCurrentSize + threshold) < maxsize) in FMAC_WriteDataIncrementPtr()
2262 maxsize = hfmac->InputCurrentSize + threshold; in FMAC_WriteDataIncrementPtr()
Dstm32h7xx_hal_dfsdm.c3206 uint32_t threshold; in HAL_DFSDM_IRQHandler() local
3211threshold = ((reg & DFSDM_FLTAWSR_AWLTF) != 0U) ? DFSDM_AWD_LOW_THRESHOLD : DFSDM_AWD_HIGH_THRESHO… in HAL_DFSDM_IRQHandler()
3212 if(threshold == DFSDM_AWD_HIGH_THRESHOLD) in HAL_DFSDM_IRQHandler()
3222 hdfsdm_filter->Instance->FLTAWCFR = (threshold == DFSDM_AWD_HIGH_THRESHOLD) ? \ in HAL_DFSDM_IRQHandler()
3228 hdfsdm_filter->AwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()
3230 HAL_DFSDM_FilterAwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_fmac.c2159 uint16_t threshold; in FMAC_ReadDataIncrementPtr() local
2195 threshold = (uint16_t)FMAC_GET_THRESHOLD_FROM_WM(FMAC_GET_Y_EMPTY_WM(hfmac)) - 1U; in FMAC_ReadDataIncrementPtr()
2198 if ((hfmac->OutputCurrentSize + threshold) < maxsize) in FMAC_ReadDataIncrementPtr()
2200 maxsize = hfmac->OutputCurrentSize + threshold; in FMAC_ReadDataIncrementPtr()
2223 uint16_t threshold; in FMAC_WriteDataIncrementPtr() local
2257 threshold = (uint16_t)FMAC_GET_THRESHOLD_FROM_WM(FMAC_GET_X1_FULL_WM(hfmac)) - 1U; in FMAC_WriteDataIncrementPtr()
2260 if ((hfmac->InputCurrentSize + threshold) < maxsize) in FMAC_WriteDataIncrementPtr()
2262 maxsize = hfmac->InputCurrentSize + threshold; in FMAC_WriteDataIncrementPtr()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_fmac.c2299 uint16_t threshold; in FMAC_ReadDataIncrementPtr() local
2335 threshold = (uint16_t)FMAC_GET_THRESHOLD_FROM_WM(FMAC_GET_Y_EMPTY_WM(hfmac)) - 1U; in FMAC_ReadDataIncrementPtr()
2338 if ((hfmac->OutputCurrentSize + threshold) < maxsize) in FMAC_ReadDataIncrementPtr()
2340 maxsize = hfmac->OutputCurrentSize + threshold; in FMAC_ReadDataIncrementPtr()
2363 uint16_t threshold; in FMAC_WriteDataIncrementPtr() local
2397 threshold = (uint16_t)FMAC_GET_THRESHOLD_FROM_WM(FMAC_GET_X1_FULL_WM(hfmac)) - 1U; in FMAC_WriteDataIncrementPtr()
2400 if ((hfmac->InputCurrentSize + threshold) < maxsize) in FMAC_WriteDataIncrementPtr()
2402 maxsize = hfmac->InputCurrentSize + threshold; in FMAC_WriteDataIncrementPtr()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_fmac.c2299 uint16_t threshold; in FMAC_ReadDataIncrementPtr() local
2335 threshold = (uint16_t)FMAC_GET_THRESHOLD_FROM_WM(FMAC_GET_Y_EMPTY_WM(hfmac)) - 1U; in FMAC_ReadDataIncrementPtr()
2338 if ((hfmac->OutputCurrentSize + threshold) < maxsize) in FMAC_ReadDataIncrementPtr()
2340 maxsize = hfmac->OutputCurrentSize + threshold; in FMAC_ReadDataIncrementPtr()
2363 uint16_t threshold; in FMAC_WriteDataIncrementPtr() local
2397 threshold = (uint16_t)FMAC_GET_THRESHOLD_FROM_WM(FMAC_GET_X1_FULL_WM(hfmac)) - 1U; in FMAC_WriteDataIncrementPtr()
2400 if ((hfmac->InputCurrentSize + threshold) < maxsize) in FMAC_WriteDataIncrementPtr()
2402 maxsize = hfmac->InputCurrentSize + threshold; in FMAC_WriteDataIncrementPtr()
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_dfsdm.c2988 uint32_t threshold; in HAL_DFSDM_IRQHandler() local
2993threshold = ((reg & DFSDM_FLTAWSR_AWLTF) != 0U) ? DFSDM_AWD_LOW_THRESHOLD : DFSDM_AWD_HIGH_THRESHO… in HAL_DFSDM_IRQHandler()
2994 if(threshold == DFSDM_AWD_HIGH_THRESHOLD) in HAL_DFSDM_IRQHandler()
3004 hdfsdm_filter->Instance->FLTAWCFR = (threshold == DFSDM_AWD_HIGH_THRESHOLD) ? \ in HAL_DFSDM_IRQHandler()
3010 hdfsdm_filter->AwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()
3012 HAL_DFSDM_FilterAwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_dfsdm.c2974 uint32_t threshold = 0; in HAL_DFSDM_IRQHandler() local
2979threshold = ((reg & DFSDM_FLTAWSR_AWLTF) != 0) ? DFSDM_AWD_LOW_THRESHOLD : DFSDM_AWD_HIGH_THRESHOL… in HAL_DFSDM_IRQHandler()
2980 if(threshold == DFSDM_AWD_HIGH_THRESHOLD) in HAL_DFSDM_IRQHandler()
2990 hdfsdm_filter->Instance->FLTAWCFR = (threshold == DFSDM_AWD_HIGH_THRESHOLD) ? \ in HAL_DFSDM_IRQHandler()
2996 hdfsdm_filter->AwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()
2998 HAL_DFSDM_FilterAwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_dfsdm.c2990 uint32_t threshold; in HAL_DFSDM_IRQHandler() local
2995threshold = ((reg & DFSDM_FLTAWSR_AWLTF) != 0U) ? DFSDM_AWD_LOW_THRESHOLD : DFSDM_AWD_HIGH_THRESHO… in HAL_DFSDM_IRQHandler()
2996 if (threshold == DFSDM_AWD_HIGH_THRESHOLD) in HAL_DFSDM_IRQHandler()
3006 hdfsdm_filter->Instance->FLTAWCFR = (threshold == DFSDM_AWD_HIGH_THRESHOLD) ? \ in HAL_DFSDM_IRQHandler()
3012 hdfsdm_filter->AwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()
3014 HAL_DFSDM_FilterAwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_dfsdm.c2978 uint32_t threshold; in HAL_DFSDM_IRQHandler() local
2983threshold = ((reg & DFSDM_FLTAWSR_AWLTF) != 0U) ? DFSDM_AWD_LOW_THRESHOLD : DFSDM_AWD_HIGH_THRESHO… in HAL_DFSDM_IRQHandler()
2984 if (threshold == DFSDM_AWD_HIGH_THRESHOLD) in HAL_DFSDM_IRQHandler()
2994 hdfsdm_filter->Instance->FLTAWCFR = (threshold == DFSDM_AWD_HIGH_THRESHOLD) ? \ in HAL_DFSDM_IRQHandler()
3000 hdfsdm_filter->AwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()
3002 HAL_DFSDM_FilterAwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_dfsdm.c3411 uint32_t threshold = 0U; in HAL_DFSDM_IRQHandler() local
3416threshold = ((reg & DFSDM_FLTAWSR_AWLTF) != 0U) ? DFSDM_AWD_LOW_THRESHOLD : DFSDM_AWD_HIGH_THRESHO… in HAL_DFSDM_IRQHandler()
3417 if(threshold == DFSDM_AWD_HIGH_THRESHOLD) in HAL_DFSDM_IRQHandler()
3427 hdfsdm_filter->Instance->FLTAWCFR = (threshold == DFSDM_AWD_HIGH_THRESHOLD) ? \ in HAL_DFSDM_IRQHandler()
3433 hdfsdm_filter->AwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()
3435 HAL_DFSDM_FilterAwdCallback(hdfsdm_filter, channel, threshold); in HAL_DFSDM_IRQHandler()