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

Functions

void I2C2_IRQHandler ()
 

Function Documentation

void I2C2_IRQHandler ( void  )

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