Home
last modified time | relevance | path

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

/hal_nxp-3.7.0/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-3.7.0/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-3.7.0/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-3.7.0/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-3.7.0/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-3.7.0/mcux/mcux-sdk/drivers/lcdic/
Dfsl_lcdic.h557 static inline void LCDIC_SetTxThreshold(LCDIC_Type *base, lcdic_tx_threshold_t threshold) in LCDIC_SetTxThreshold() argument
559 …L = (base->FIFO_CTRL & ~LCDIC_FIFO_CTRL_TFIFO_THRES_MASK) | LCDIC_FIFO_CTRL_TFIFO_THRES(threshold); in LCDIC_SetTxThreshold()
568 static inline void LCDIC_SetRxThreshold(LCDIC_Type *base, lcdic_rx_threshold_t threshold) in LCDIC_SetRxThreshold() argument
570 …L = (base->FIFO_CTRL & ~LCDIC_FIFO_CTRL_RFIFO_THRES_MASK) | LCDIC_FIFO_CTRL_RFIFO_THRES(threshold); in LCDIC_SetRxThreshold()
/hal_nxp-3.7.0/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-3.7.0/mcux/mcux-sdk/components/srtm/services/
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_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()
1008 …uint32_t *threshold = dir == SRTM_AudioDirTx ? &handle->txConfig.threshold : &handle->rxConfig.thr… in SRTM_SaiSdmaAdapter_Start() local
1011 uint32_t *threshold = &handle->txConfig.threshold; in SRTM_SaiSdmaAdapter_Start() local
1122 if (guardPeroids > *threshold) in SRTM_SaiSdmaAdapter_Start()
1124 *threshold = guardPeroids > thisRtm->periods ? thisRtm->periods : guardPeroids; in SRTM_SaiSdmaAdapter_Start()
1238 thisCfg->threshold = 1U; in SRTM_SaiSdmaAdapter_End()
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
/hal_nxp-3.7.0/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-3.7.0/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-3.7.0/mcux/mcux-sdk/drivers/pdm/
Dfsl_pdm.h345 uint32_t threshold; /*!< The adjustment value of the noise filter */ member
Dfsl_pdm.c872 …zcd |= (PDM_VAD0_ZCD_VADZCDTH(config->threshold) | PDM_VAD0_ZCD_VADZCDADJ(config->adjustmentThresh… in PDM_SetHwvadZeroCrossDetectorConfig()