Re: [RFC PATCH] [RFC PATCH] iio: position: rust: add initial AS5600 driver
From: Miguel Ojeda
Date: Tue Apr 21 2026 - 12:29:58 EST
On Tue, Apr 21, 2026 at 5:38 PM Muchamad Coirul Anwar
<muchamadcoirulanwar@xxxxxxxxx> wrote:
>
> Thanks for the pointer, Miguel. I will update the constants to use
> `kernel::bits` in the next iteration so they map cleanly to the
> datasheet.
You're welcome! By the way, eventually I2C etc. may also want to
consider a more convenient way of matching a datasheet / defining a
register map, like we do with `register!` for MMIO and PCI config
space:
https://rust.docs.kernel.org/next/kernel/io/register/
Cheers,
Miguel