Lines Matching refs:inputCaptureParams
826 const pwm_input_capture_param_t *inputCaptureParams) in PWM_SetupInputCapture() argument
834 reg = (PWM_CAPTCTRLA_INP_SELA(inputCaptureParams->captureInputSel) | in PWM_SetupInputCapture()
835 … PWM_CAPTCTRLA_EDGA0(inputCaptureParams->edge0) | PWM_CAPTCTRLA_EDGA1(inputCaptureParams->edge1) | in PWM_SetupInputCapture()
836 PWM_CAPTCTRLA_ONESHOTA(inputCaptureParams->enableOneShotCapture) | in PWM_SetupInputCapture()
837 PWM_CAPTCTRLA_CFAWM(inputCaptureParams->fifoWatermark)); in PWM_SetupInputCapture()
839 if (inputCaptureParams->captureInputSel) in PWM_SetupInputCapture()
849 … base->SM[subModule].CAPTCOMPA = PWM_CAPTCOMPA_EDGCMPA(inputCaptureParams->edgeCompareValue); in PWM_SetupInputCapture()
857 reg = (PWM_CAPTCTRLB_INP_SELB(inputCaptureParams->captureInputSel) | in PWM_SetupInputCapture()
858 … PWM_CAPTCTRLB_EDGB0(inputCaptureParams->edge0) | PWM_CAPTCTRLB_EDGB1(inputCaptureParams->edge1) | in PWM_SetupInputCapture()
859 PWM_CAPTCTRLB_ONESHOTB(inputCaptureParams->enableOneShotCapture) | in PWM_SetupInputCapture()
860 PWM_CAPTCTRLB_CFBWM(inputCaptureParams->fifoWatermark)); in PWM_SetupInputCapture()
862 if (inputCaptureParams->captureInputSel) in PWM_SetupInputCapture()
872 … base->SM[subModule].CAPTCOMPB = PWM_CAPTCOMPB_EDGCMPB(inputCaptureParams->edgeCompareValue); in PWM_SetupInputCapture()
879 reg = (PWM_CAPTCTRLX_INP_SELX(inputCaptureParams->captureInputSel) | in PWM_SetupInputCapture()
880 … PWM_CAPTCTRLX_EDGX0(inputCaptureParams->edge0) | PWM_CAPTCTRLX_EDGX1(inputCaptureParams->edge1) | in PWM_SetupInputCapture()
881 PWM_CAPTCTRLX_ONESHOTX(inputCaptureParams->enableOneShotCapture) | in PWM_SetupInputCapture()
882 PWM_CAPTCTRLX_CFXWM(inputCaptureParams->fifoWatermark)); in PWM_SetupInputCapture()
884 if (inputCaptureParams->captureInputSel) in PWM_SetupInputCapture()
894 … base->SM[subModule].CAPTCOMPX = PWM_CAPTCOMPX_EDGCMPX(inputCaptureParams->edgeCompareValue); in PWM_SetupInputCapture()