Lines Matching refs:threshold
608 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()
660 ADC_CH_B_CFG2_CHB_LOW_THRES(threshold); in ADC_SetCmpLowThres()
664 ADC_CH_D_CFG2_CHD_LOW_THRES(threshold); in ADC_SetCmpLowThres()