How do I use NACK's and ACK for I2C communication

Hello

I am trying to read data from a particular register in my bq27510 Li-ion Fual Gauge (example here register 0x2C for State Of Charge) in the datasheet the ideal read I2C sequence should look like:

Start, 0xAA, [Ack], 0x2C, [Ack], Repeated Start, 0xAB, [Ack], Data Read, [Nack], Stop

0xAA = Fual Gauge, 0xAB = Fual Gauge write, 0x2c = SOC reg, Ack= Acknowledge, Nack= No Acknowledge.

what lines of code will give me the Ack and Nack functions ? Are they alreadly in the Wire.h library

update for the info above:

0xAA is the write address and 0xAB is the read address. Technically the I2C address of bq27510 in 7 bit format is 0x55 so when you add the write/read bit then you get in 8 bit format 0xAA and 0xAB respectively.