Home
last modified time | relevance | path

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

12

/hal_nxp-latest/imx/drivers/
Dadc_imx7d.c608 void ADC_SetCmpHighThres(ADC_Type* base, uint8_t logicCh, uint16_t threshold) in ADC_SetCmpHighThres() argument
611 assert(threshold <= 0xFFF); in ADC_SetCmpHighThres()
617 ADC_CH_A_CFG2_CHA_HIGH_THRES(threshold); in ADC_SetCmpHighThres()
621 ADC_CH_B_CFG2_CHB_HIGH_THRES(threshold); in ADC_SetCmpHighThres()
625 ADC_CH_C_CFG2_CHC_HIGH_THRES(threshold); in ADC_SetCmpHighThres()
629 ADC_CH_D_CFG2_CHD_HIGH_THRES(threshold); in ADC_SetCmpHighThres()
643 void ADC_SetCmpLowThres(ADC_Type* base, uint8_t logicCh, uint16_t threshold) in ADC_SetCmpLowThres() argument
646 assert(threshold <= 0xFFF); in ADC_SetCmpLowThres()
652 ADC_CH_A_CFG2_CHA_LOW_THRES(threshold); in ADC_SetCmpLowThres()
656 ADC_CH_B_CFG2_CHB_LOW_THRES(threshold); in ADC_SetCmpLowThres()
[all …]
Decspi.c174 void ECSPI_SetFIFOThreshold(ECSPI_Type* base, uint32_t fifo, uint32_t threshold) in ECSPI_SetFIFOThreshold() argument
179 ECSPI_DMAREG_TX_THRESHOLD(threshold); in ECSPI_SetFIFOThreshold()
182 ECSPI_DMAREG_RX_THRESHOLD(threshold); in ECSPI_SetFIFOThreshold()
Dadc_imx7d.h357 void ADC_SetCmpHighThres(ADC_Type* base, uint8_t logicCh, uint16_t threshold);
366 void ADC_SetCmpLowThres(ADC_Type* base, uint8_t logicCh, uint16_t threshold);
Decspi.h436 void ECSPI_SetFIFOThreshold(ECSPI_Type* base, uint32_t fifo, uint32_t threshold);
/hal_nxp-latest/mcux/mcux-sdk/devices/MKE04Z4/drivers/
Dfsl_port.h210 static inline void PORT_SetFilterDIV1WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV1WidthThreshold() argument
215 base->IOFLT = fltReg | PORT_IOFLT_FLTDIV1(threshold); in PORT_SetFilterDIV1WidthThreshold()
232 static inline void PORT_SetFilterDIV2WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV2WidthThreshold() argument
237 base->IOFLT = fltReg | PORT_IOFLT_FLTDIV2(threshold); in PORT_SetFilterDIV2WidthThreshold()
250 static inline void PORT_SetFilterDIV3WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV3WidthThreshold() argument
255 base->IOFLT = fltReg | PORT_IOFLT_FLTDIV3(threshold); in PORT_SetFilterDIV3WidthThreshold()
/hal_nxp-latest/mcux/mcux-sdk/devices/MKE02Z4/drivers/
Dfsl_port.h219 static inline void PORT_SetFilterDIV1WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV1WidthThreshold() argument
224 base->IOFLT = fltReg | PORT_IOFLT_FLTDIV1(threshold); in PORT_SetFilterDIV1WidthThreshold()
241 static inline void PORT_SetFilterDIV2WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV2WidthThreshold() argument
246 base->IOFLT = fltReg | PORT_IOFLT_FLTDIV2(threshold); in PORT_SetFilterDIV2WidthThreshold()
259 static inline void PORT_SetFilterDIV3WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV3WidthThreshold() argument
264 base->IOFLT = fltReg | PORT_IOFLT_FLTDIV3(threshold); in PORT_SetFilterDIV3WidthThreshold()
/hal_nxp-latest/mcux/mcux-sdk/devices/MKE06Z4/drivers/
Dfsl_port.h279 static inline void PORT_SetFilterDIV1WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV1WidthThreshold() argument
284 base->IOFLT0 = fltReg | PORT_IOFLT0_FLTDIV1(threshold); in PORT_SetFilterDIV1WidthThreshold()
301 static inline void PORT_SetFilterDIV2WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV2WidthThreshold() argument
306 base->IOFLT0 = fltReg | PORT_IOFLT0_FLTDIV2(threshold); in PORT_SetFilterDIV2WidthThreshold()
319 static inline void PORT_SetFilterDIV3WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV3WidthThreshold() argument
324 base->IOFLT0 = fltReg | PORT_IOFLT0_FLTDIV3(threshold); in PORT_SetFilterDIV3WidthThreshold()
/hal_nxp-latest/mcux/mcux-sdk/devices/MKE04Z1284/drivers/
Dfsl_port.h279 static inline void PORT_SetFilterDIV1WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV1WidthThreshold() argument
284 base->IOFLT0 = fltReg | PORT_IOFLT0_FLTDIV1(threshold); in PORT_SetFilterDIV1WidthThreshold()
301 static inline void PORT_SetFilterDIV2WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV2WidthThreshold() argument
306 base->IOFLT0 = fltReg | PORT_IOFLT0_FLTDIV2(threshold); in PORT_SetFilterDIV2WidthThreshold()
319 static inline void PORT_SetFilterDIV3WidthThreshold(PORT_Type *base, uint8_t threshold) in PORT_SetFilterDIV3WidthThreshold() argument
324 base->IOFLT0 = fltReg | PORT_IOFLT0_FLTDIV3(threshold); in PORT_SetFilterDIV3WidthThreshold()
/hal_nxp-latest/mcux/mcux-sdk/drivers/lcdic/
Dfsl_lcdic.h560 static inline void LCDIC_SetTxThreshold(LCDIC_Type *base, lcdic_tx_threshold_t threshold) in LCDIC_SetTxThreshold() argument
562 …L = (base->FIFO_CTRL & ~LCDIC_FIFO_CTRL_TFIFO_THRES_MASK) | LCDIC_FIFO_CTRL_TFIFO_THRES(threshold); in LCDIC_SetTxThreshold()
571 static inline void LCDIC_SetRxThreshold(LCDIC_Type *base, lcdic_rx_threshold_t threshold) in LCDIC_SetRxThreshold() argument
573 …L = (base->FIFO_CTRL & ~LCDIC_FIFO_CTRL_RFIFO_THRES_MASK) | LCDIC_FIFO_CTRL_RFIFO_THRES(threshold); in LCDIC_SetRxThreshold()
/hal_nxp-latest/mcux/mcux-sdk/components/led/
Dfsl_component_led.c141 static led_status_t LED_SetStatus(led_state_t *ledState, led_color_t color, uint32_t threshold) in LED_SetStatus() argument
152 ledState->expiryPeriodCount = s_ledList.periodCount + threshold; in LED_SetStatus()
203 uint32_t threshold = 0; in LED_TimerEvent() local
244threshold = (uint32_t)ledState->flashPeriod * (100U - (uint32_t)ledState->flashDuty) / 100U; in LED_TimerEvent()
280threshold = (uint32_t)ledState->flashPeriod * (uint32_t)(ledState->flashDuty) / 100U; in LED_TimerEvent()
283 (void)LED_SetStatus(ledState, ledState->currentColor, threshold); in LED_TimerEvent()
/hal_nxp-latest/mcux/mcux-sdk/components/srtm/services/
Dsrtm_sai_edma_adapter.c471 if (rtm->localRtm.bufRtm.remainingPeriods <= rtm->localBuf.threshold) in SRTM_SaiEdmaAdapter_Transfer()
584 (rtm->freeRun || (rtm->bufRtm.remainingPeriods <= handle->txConfig.threshold) || in SRTM_SaiEdmaTxCallback()
776 …uint32_t *threshold = dir == SRTM_AudioDirTx ? &handle->txConfig.threshold : &handle->rxConfig.thr… in SRTM_SaiEdmaAdapter_Start() local
779 uint32_t *threshold = &handle->txConfig.threshold; in SRTM_SaiEdmaAdapter_Start() local
887 if (guardPeroids > *threshold) in SRTM_SaiEdmaAdapter_Start()
889 *threshold = guardPeroids > thisRtm->periods ? thisRtm->periods : guardPeroids; in SRTM_SaiEdmaAdapter_Start()
1001 thisCfg->threshold = 1U; in SRTM_SaiEdmaAdapter_End()
Dsrtm_sai_sdma_adapter.c550 …if ((dir == SRTM_AudioDirTx) && (rtm->localRtm.bufRtm.remainingPeriods <= rtm->localBuf.threshold)) in SRTM_SaiSdmaAdapter_Transfer()
681 (rtm->freeRun || (rtm->bufRtm.remainingPeriods <= handle->txConfig.threshold) || in SRTM_SaiSdmaTxCallback()
1007 …uint32_t *threshold = dir == SRTM_AudioDirTx ? &handle->txConfig.threshold : &handle->rxConfig.thr… in SRTM_SaiSdmaAdapter_Start() local
1010 uint32_t *threshold = &handle->txConfig.threshold; in SRTM_SaiSdmaAdapter_Start() local
1121 if (guardPeroids > *threshold) in SRTM_SaiSdmaAdapter_Start()
1123 *threshold = guardPeroids > thisRtm->periods ? thisRtm->periods : guardPeroids; in SRTM_SaiSdmaAdapter_Start()
1237 thisCfg->threshold = 1U; in SRTM_SaiSdmaAdapter_End()
Dsrtm_sai_edma_adapter.h47 …uint32_t threshold; /* threshold period number: under which will trigger periodDone notification. … member
56 …uint32_t threshold; /* Threshold period number: under which will trigger copy from share buf to lo… member
Dsrtm_sai_sdma_adapter.h67 uint32_t threshold; /* TX ONLY threshold: under which will trigger periodDone notification. */ member
81 …uint32_t threshold; /* Threshold period number: under which will trigger copy from share buf to lo… member
Dsrtm_pdm_edma_adapter.c518 …rtm->localBuf.periods - rtm->localBuf.threshold; /* Local buffer periods for each ext buffer perio… in SRTM_PdmEdmaAdaptor_ResetExtBuf()
539 …rtm->localBuf.periods - rtm->localBuf.threshold; /* The number of localBuf periods for each extra … in SRTM_PdmEdmaAdapter_LocalBufFullDMACb()
573 …rtm->localBuf.periods - rtm->localBuf.threshold; /* local buffer periods number for each extra per… in SRTM_PdmEdmaAdapter_LocalBufFullProc()
698 … if (((rtm->localRtm.bufRtm.chaseIdx + rtm->localBuf.threshold) % rtm->localBuf.periods) == in SRTM_PdmEdmaRxCallback()
713 … if (((rtm->localRtm.bufRtm.chaseIdx + rtm->localBuf.threshold) % rtm->localBuf.periods) == in SRTM_PdmEdmaRxCallback()
Dsrtm_pdm_sdma_adapter.c474 …rtm->localBuf.periods - rtm->localBuf.threshold; /* Local buffer periods for each ext buffer perio… in SRTM_PdmSdmaAdaptor_ResetExtBuf()
495 …rtm->localBuf.periods - rtm->localBuf.threshold; /* The number of localBuf periods for each extra … in SRTM_PdmSdmaAdapter_LocalBufFullDMACb()
526 …rtm->localBuf.periods - rtm->localBuf.threshold; /* local buffer periods number for each extra per… in SRTM_PdmSdmaAdapter_LocalBufFullProc()
611 … if (((rtm->localRtm.bufRtm.chaseIdx + rtm->localBuf.threshold) % rtm->localBuf.periods) == in SRTM_PdmSdmaRxCallback()
626 … if (((rtm->localRtm.bufRtm.chaseIdx + rtm->localBuf.threshold) % rtm->localBuf.periods) == in SRTM_PdmSdmaRxCallback()
Dsrtm_pdm_sdma_adapter.h75 …uint32_t threshold; /*!< Threshold period number: under which will trigger copy from local buffer … member
Dsrtm_pdm_edma_adapter.h88 …uint32_t threshold; /*!< Threshold period number: under which will trigger copy from local buffer … member
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/
Dfsl_netc_timer.c255 status_t NETC_TimerSetTsFifoThreshold(netc_timer_handle_t *handle, uint8_t threshold) in NETC_TimerSetTsFifoThreshold() argument
259 if (threshold <= NETC_TIMER_EXT_TRIG_FIFO_THRESHOLD_MAX) in NETC_TimerSetTsFifoThreshold()
261 handle->hw.base->TMR_ECTRL = threshold; in NETC_TimerSetTsFifoThreshold()
Dfsl_netc_timer.h348 status_t NETC_TimerSetTsFifoThreshold(netc_timer_handle_t *handle, uint8_t threshold);
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/NN/Include/
Darm_nnsupportfunctions.h773 q31_t threshold = remainder_mask >> 1; in arm_nn_divide_by_power_of_two() local
776 threshold++; in arm_nn_divide_by_power_of_two()
778 if (remainder > threshold) in arm_nn_divide_by_power_of_two()
/hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wmcrypto/
Dwm_mbedtls_helper_api.h147 int threshold,
/hal_nxp-latest/mcux/mcux-sdk/components/pf1550/
Dfsl_pf1550.c327 config->threshold = kPF1550_UnderVoltDetThres_Rising3V0Falling2V9; in PF1550_GetDefaultConfig()
348 …F1550_ModifyReg(handle, PF1550_PWRCTRL2, PF1550_PWRCTRL2_UVDET_MASK, (uint8_t)(config->threshold)); in PF1550_Init()
Dfsl_pf1550.h438 pf1550_undervoltage_detect_threshold_t threshold; member
/hal_nxp-latest/mcux/mcux-sdk/drivers/pdm/
Dfsl_pdm.h345 uint32_t threshold; /*!< The adjustment value of the noise filter */ member

12