You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most devices have 8-bit register addresses with 8-bit values. However some devices have 16-bit register addresses, or 16-bit register values, or even 32-bit (eg. the XM125 uses 16-bit addresses with 32-bit values, see section 3 here).
Rather than making special functions for every possible permutation, I think it would make sense to have a single set of read/write functions that can accept any address/value size. The user would need to initialize the size and endianness of the addresses and values once at the start.
The text was updated successfully, but these errors were encountered:
Most devices have 8-bit register addresses with 8-bit values. However some devices have 16-bit register addresses, or 16-bit register values, or even 32-bit (eg. the XM125 uses 16-bit addresses with 32-bit values, see section 3 here).
Rather than making special functions for every possible permutation, I think it would make sense to have a single set of read/write functions that can accept any address/value size. The user would need to initialize the size and endianness of the addresses and values once at the start.
The text was updated successfully, but these errors were encountered: