CODE Master sending nack and repeated start on data. Interrupt mode

Table 1. CODE I2C Code example
Master sending nack and repeated start on data. Address 0x23. No error checking. Interrupt mode
LPC_I2C->CFG = I2C_CFG_MSTEN;
LPC_I2C->INTENSET = I2C_STAT_MSTPENDING;
NVIC_EnableIRQ(I2c_IRQn);
while(LPC_I2C->INTENSET & I2C_STAT_MSTPENDING);
if((LPC_I2C->STAT & I2C_STAT_MSTSTATE) != I2C_STAT_MSTST_IDLE)abort();
NVIC_DisableIRQ(I2c_IRQn);

-->