Lines Matching refs:interruptNumber
725 void DMA_assignInterrupt(uint32_t interruptNumber, uint32_t channel) in DMA_assignInterrupt() argument
728 interruptNumber == DMA_INT1 || interruptNumber == DMA_INT2 in DMA_assignInterrupt()
729 || interruptNumber == DMA_INT3); in DMA_assignInterrupt()
731 if (interruptNumber == DMA_INT1) in DMA_assignInterrupt()
735 } else if (interruptNumber == DMA_INT2) in DMA_assignInterrupt()
739 } else if (interruptNumber == DMA_INT3) in DMA_assignInterrupt()
746 DMA_enableInterrupt(interruptNumber); in DMA_assignInterrupt()
764 void DMA_enableInterrupt(uint32_t interruptNumber) in DMA_enableInterrupt() argument
767 (interruptNumber == DMA_INT0) || (interruptNumber == DMA_INT1) in DMA_enableInterrupt()
768 || (interruptNumber == DMA_INT2) in DMA_enableInterrupt()
769 || (interruptNumber == DMA_INT3)); in DMA_enableInterrupt()
771 if (interruptNumber == DMA_INT1) in DMA_enableInterrupt()
774 } else if (interruptNumber == DMA_INT2) in DMA_enableInterrupt()
777 } else if (interruptNumber == DMA_INT3) in DMA_enableInterrupt()
784 void DMA_disableInterrupt(uint32_t interruptNumber) in DMA_disableInterrupt() argument
787 (interruptNumber == DMA_INT0) || (interruptNumber == DMA_INT1) in DMA_disableInterrupt()
788 || (interruptNumber == DMA_INT2) in DMA_disableInterrupt()
789 || (interruptNumber == DMA_INT3)); in DMA_disableInterrupt()
791 if (interruptNumber == DMA_INT1) in DMA_disableInterrupt()
794 } else if (interruptNumber == DMA_INT2) in DMA_disableInterrupt()
797 } else if (interruptNumber == DMA_INT3) in DMA_disableInterrupt()
803 void DMA_registerInterrupt(uint32_t interruptNumber, void (*intHandler)(void)) in DMA_registerInterrupt() argument
810 (interruptNumber == DMA_INT0) || (interruptNumber == DMA_INT1) in DMA_registerInterrupt()
811 || (interruptNumber == DMA_INT2) in DMA_registerInterrupt()
812 || (interruptNumber == DMA_INT3) in DMA_registerInterrupt()
813 || (interruptNumber == DMA_INTERR)); in DMA_registerInterrupt()
818 Interrupt_registerInterrupt(interruptNumber, intHandler); in DMA_registerInterrupt()
823 Interrupt_enableInterrupt(interruptNumber); in DMA_registerInterrupt()
827 void DMA_unregisterInterrupt(uint32_t interruptNumber) in DMA_unregisterInterrupt() argument
830 (interruptNumber == DMA_INT0) || (interruptNumber == DMA_INT1) in DMA_unregisterInterrupt()
831 || (interruptNumber == DMA_INT2) in DMA_unregisterInterrupt()
832 || (interruptNumber == DMA_INT3) in DMA_unregisterInterrupt()
833 || (interruptNumber == DMA_INTERR)); in DMA_unregisterInterrupt()
838 Interrupt_disableInterrupt(interruptNumber); in DMA_unregisterInterrupt()
843 Interrupt_unregisterInterrupt(interruptNumber); in DMA_unregisterInterrupt()