uart2.cpp File Reference
#include "uart2.hpp"
#include "LPC17xx.h"
#include "sys_config.h"
Include dependency graph for uart2.cpp:

Functions

void UART2_IRQHandler ()
 

Function Documentation

void UART2_IRQHandler ( void  )

IRQ Handler needs to be enclosed in extern "C" because this is C++ file, and we don't want C++ to "mangle" our function name. This ISR Function need needs to be named precisely to override "WEAK" ISR handler defined at startup.cpp