I want to try to disable/enable the interrupt from the USBRX input to see if this fixes a problem I am having. I have found many references to a LPC17xx.h header file, in particular this one that sounds as though it could be of interest to me:
"To disable a specific interrupt, use NVIC_DisableIRQ() (e.g. NVIC_DisableIRQ(UART0_IRQn)). You can find the interrupt numbers in LPC17xx.h."
But I have not been able to find this file or been able to determine the received data interrupt number or how to specify it. I blindly tried replacing n with 2 based on a wild guess from the chip data sheet. But UART0_IRQ2 is not found by the compiler.
I would appreciate any pointers that might allow me to disable/enable the UART0 received data interrupt.
Thanks.
Chuck, W5UXH
I want to try to disable/enable the interrupt from the USBRX input to see if this fixes a problem I am having. I have found many references to a LPC17xx.h header file, in particular this one that sounds as though it could be of interest to me:
"To disable a specific interrupt, use NVIC_DisableIRQ() (e.g. NVIC_DisableIRQ(UART0_IRQn)). You can find the interrupt numbers in LPC17xx.h."
But I have not been able to find this file or been able to determine the received data interrupt number or how to specify it. I blindly tried replacing n with 2 based on a wild guess from the chip data sheet. But UART0_IRQ2 is not found by the compiler.
I would appreciate any pointers that might allow me to disable/enable the UART0 received data interrupt.
Thanks.
Chuck, W5UXH