#if defined(__PIC24F__)
#include <p24Fxxxx.h>
#endif
#include "i2c.h"


/*********************************************************************
*    Function Name:  AckI2C2                                        
*    Description:    This routine generates acknowledge condition 
*                    during master receive.                  
*    Parameters:     void                                   
*    Return Value:   void
*********************************************************************/

#ifdef _I2C_V2_2

void AckI2C2(void)
{
    I2C2CONbits.ACKDT = 0;
    I2C2CONbits.ACKEN = 1;
}

#else
#warning "Does not build on this target"
#endif
