Home
last modified time | relevance | path

Searched refs:faultNum (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_pwm.c716 void PWM_SetupFaults(PWM_Type *base, pwm_fault_input_t faultNum, const pwm_fault_param_t *faultPara… in PWM_SetupFaults() argument
725 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 …]
Dfsl_pwm.h563 void PWM_SetupFaults(PWM_Type *base, pwm_fault_input_t faultNum, const pwm_fault_param_t *faultPara…
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_pwm.c716 void PWM_SetupFaults(PWM_Type *base, pwm_fault_input_t faultNum, const pwm_fault_param_t *faultPara… in PWM_SetupFaults() argument
725 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 …]
Dfsl_pwm.h563 void PWM_SetupFaults(PWM_Type *base, pwm_fault_input_t faultNum, const pwm_fault_param_t *faultPara…