I want to save precious CPU cycles by writing 40 i2c (TWI) registers in one shot. Can I somehow set up the TWI master to write 40 registers (each 16-byte address with 8-bit data)?
Further, can this be done for two slave devices with two different slave addresses? If not, then I can split it per device. But I am hoping that I don't have to babysit the register writes one-by-one and waste cycles on interrupts and programming each register one at a time.
Any pointers or tips?