Lines Matching refs:mask
318 void QTMR_EnableInterrupts(TMR_Type *base, qtmr_channel_selection_t channel, uint32_t mask) in QTMR_EnableInterrupts() argument
324 if ((mask & (uint16_t)kQTMR_CompareInterruptEnable) != 0UL) in QTMR_EnableInterrupts()
329 if ((mask & (uint16_t)kQTMR_OverflowInterruptEnable) != 0UL) in QTMR_EnableInterrupts()
334 if ((mask & (uint16_t)kQTMR_EdgeInterruptEnable) != 0UL) in QTMR_EnableInterrupts()
344 if ((mask & (uint16_t)kQTMR_Compare1InterruptEnable) != 0UL) in QTMR_EnableInterrupts()
349 if ((mask & (uint16_t)kQTMR_Compare2InterruptEnable) != 0UL) in QTMR_EnableInterrupts()
364 void QTMR_DisableInterrupts(TMR_Type *base, qtmr_channel_selection_t channel, uint32_t mask) in QTMR_DisableInterrupts() argument
370 if ((mask & (uint16_t)kQTMR_CompareInterruptEnable) != 0UL) in QTMR_DisableInterrupts()
375 if ((mask & (uint16_t)kQTMR_OverflowInterruptEnable) != 0UL) in QTMR_DisableInterrupts()
380 if ((mask & (uint16_t)kQTMR_EdgeInterruptEnable) != 0UL) in QTMR_DisableInterrupts()
388 if ((mask & (uint16_t)kQTMR_Compare1InterruptEnable) != 0UL) in QTMR_DisableInterrupts()
393 if ((mask & (uint16_t)kQTMR_Compare2InterruptEnable) != 0UL) in QTMR_DisableInterrupts()
500 void QTMR_ClearStatusFlags(TMR_Type *base, qtmr_channel_selection_t channel, uint32_t mask) in QTMR_ClearStatusFlags() argument
506 if ((mask & (uint32_t)kQTMR_CompareFlag) != 0U) in QTMR_ClearStatusFlags()
511 if ((mask & (uint32_t)kQTMR_OverflowFlag) != 0U) in QTMR_ClearStatusFlags()
516 if ((mask & (uint32_t)kQTMR_EdgeFlag) != 0U) in QTMR_ClearStatusFlags()
524 if ((mask & (uint32_t)kQTMR_Compare1Flag) != 0U) in QTMR_ClearStatusFlags()
529 if ((mask & (uint32_t)kQTMR_Compare2Flag) != 0U) in QTMR_ClearStatusFlags()
607 void QTMR_EnableDma(TMR_Type *base, qtmr_channel_selection_t channel, uint32_t mask) in QTMR_EnableDma() argument
613 if ((mask & (uint32_t)kQTMR_InputEdgeFlagDmaEnable) != 0U) in QTMR_EnableDma()
620 if ((mask & (uint32_t)kQTMR_ComparatorPreload1DmaEnable) != 0U) in QTMR_EnableDma()
625 if ((mask & (uint32_t)kQTMR_ComparatorPreload2DmaEnable) != 0U) in QTMR_EnableDma()
640 void QTMR_DisableDma(TMR_Type *base, qtmr_channel_selection_t channel, uint32_t mask) in QTMR_DisableDma() argument
646 if ((mask & (uint32_t)kQTMR_InputEdgeFlagDmaEnable) != 0U) in QTMR_DisableDma()
651 if ((mask & (uint32_t)kQTMR_ComparatorPreload1DmaEnable) != 0U) in QTMR_DisableDma()
656 if ((mask & (uint32_t)kQTMR_ComparatorPreload2DmaEnable) != 0U) in QTMR_DisableDma()