Add ".fetchoffset" and ".storeoffset" macros
Improve I2C loop count calculation