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)
{
↧