smb(4): address format
stb at lassitu.de
Tue Jan 13 23:43:09 PST 2009
Am 13.01.2009 um 13:43 schrieb Andriy Gapon:
> So, in practice, there two conventions of specifying a slave address:
> either as 0XXXXXXXb or XXXXXXX0b.
Device datasheets generally specify the hard-wired or configurable
address as a bit string, with a slight preference to format that as
> In wider world 0XXXXXXXb format seems to be preferred, Linux also
> to it.
I personally find having the address right-aligned a sensible choice.
I think of the address as logical unit, and normally would rather have
the SMBus bit banging abstracted away by the driver/hardware.
Stefan Bethke <stb at lassitu.de> Fon +49 151 14070811
More information about the freebsd-arch