Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: Interrupt vect never called [C++]

$
0
0
I have template class for Uart. For initialization of interrupt I use global function which is defined as extern "C", but my interrupt is never called. I cannot find whats wrong. /* header file */ extern "C" void USART0_RX_vect (void) __irq; template <int RXBuf, int TXBuf> class Uart { public: void initInterrupt (uint32_t a_baudrate, LPC_UART_TypeDef* a_channel) {

Viewing all articles
Browse latest Browse all 3049

Trending Articles