Searched refs:faultNum (Results 1 – 4 of 4) sorted by relevance
716 void PWM_SetupFaults(PWM_Type *base, pwm_fault_input_t faultNum, const pwm_fault_param_t *faultPara… in PWM_SetupFaults() argument725 reg |= ((uint16_t)1U << (PWM_FCTRL_FLVL_SHIFT + (uint16_t)faultNum)); in PWM_SetupFaults()729 reg &= ~((uint16_t)1U << (PWM_FCTRL_FLVL_SHIFT + (uint16_t)faultNum)); in PWM_SetupFaults()735 reg &= ~((uint16_t)1U << (PWM_FCTRL_FAUTO_SHIFT + (uint16_t)faultNum)); in PWM_SetupFaults()739 reg |= ((uint16_t)1U << (PWM_FCTRL_FSAFE_SHIFT + (uint16_t)faultNum)); in PWM_SetupFaults()744 reg &= ~((uint16_t)1U << (PWM_FCTRL_FSAFE_SHIFT + (uint16_t)faultNum)); in PWM_SetupFaults()750 reg |= ((uint16_t)1U << (PWM_FCTRL_FAUTO_SHIFT + (uint16_t)faultNum)); in PWM_SetupFaults()758 base->FCTRL2 &= ~((uint16_t)1U << (uint16_t)faultNum); in PWM_SetupFaults()763 base->FCTRL2 |= ((uint16_t)1U << (uint16_t)faultNum); in PWM_SetupFaults()768 reg &= ~(((uint16_t)1U << (PWM_FSTS_FFULL_SHIFT + (uint16_t)faultNum)) | in PWM_SetupFaults()[all …]
563 void PWM_SetupFaults(PWM_Type *base, pwm_fault_input_t faultNum, const pwm_fault_param_t *faultPara…