Help writing I2C library

The 32-bit implementation here keeps registers, and executable op codes, on a four-byte boundary, as in
0x00 = 0 * 4
0x04 = 1 * 4
0x08 = 2 * 4
0x0C = 3 * 4
0x10 = 4 * 4
It’s byte-wise little endian so alignment is on the low order byte.

There is also an interesting discussion related to E310 here.

1 Like