Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/drivers/eqdc/
Dfsl_eqdc.h760 static inline void EQDC_EnableInterrupts(EQDC_Type *base, uint32_t u32Interrupts) in EQDC_EnableInterrupts() argument
762 if (0U != (u32Interrupts & EQDC_CTRL_INT_EN)) in EQDC_EnableInterrupts()
764 base->CTRL = (base->CTRL & (~EQDC_CTRL_W1C_FLAGS)) | (u32Interrupts & EQDC_CTRL_INT_EN); in EQDC_EnableInterrupts()
767 if (0U != ((u32Interrupts >> 16) & EQDC_INTCTRL_INT_EN)) in EQDC_EnableInterrupts()
769 …base->INTCTRL = (base->INTCTRL & (~EQDC_INTCTRL_W1C_FLAGS)) | ((u32Interrupts >> 16) & EQDC_INTCTR… in EQDC_EnableInterrupts()
779 static inline void EQDC_DisableInterrupts(EQDC_Type *base, uint32_t u32Interrupts) in EQDC_DisableInterrupts() argument
781 if (0U != (u32Interrupts & EQDC_CTRL_INT_EN)) in EQDC_DisableInterrupts()
783 base->CTRL = (base->CTRL & (~EQDC_CTRL_W1C_FLAGS)) & (~(u32Interrupts & EQDC_CTRL_INT_EN)); in EQDC_DisableInterrupts()
786 if (0U != ((u32Interrupts >> 16) & EQDC_INTCTRL_INT_EN)) in EQDC_DisableInterrupts()
788 …base->INTCTRL = (base->INTCTRL & (~EQDC_INTCTRL_W1C_FLAGS)) & (~((u32Interrupts >> 16) & EQDC_INTC… in EQDC_DisableInterrupts()