Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHow to request multiply MSI interrupts?
Hi !!! Developing a network device driver on Arria2 GX (Avalon-ST). Is it possible to set a vector of 8 MSI interrupts , if the design supports only MSI interrupts, not MSI - X? From the...
Altera_Forum
Honored Contributor
14 years agoOk!
it means my LATTICE_pci_intr_handler function handle all the MSI(0-7) GENERATED IRQ. But let assume I want to test my CAN and UART by a simple function to make sure the appropriate function will be called depending on which device assert the Interrupt. void testCAN() { printf ("Called by CAN BUS!\n"); } and void testUART() { printf ("Called by UART!\n"); } How can I implemented these 2 functions within the Interrupt Handler or should I simply test the IRQ Number and called the related function ?? 0--CAN 1--UART ...