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

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


#ifdef _I2C_V2_1

void NotAckI2C1(void)
{
    I2C1CONbits.ACKDT = 1;
    I2C1CONbits.ACKEN = 1;
}





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