On Tue, 5 Jul 2016 10:56:13 +, David Laight wrote:
> From: Jakub Kicinski
> > Sent: 01 July 2016 22:27
> >
> > C bitfields are problematic and best avoided. Developers
> > interacting with hardware registers find themselves searching
> > for easy-to-use alternatives. Common approach is to
From: Jakub Kicinski
> Sent: 01 July 2016 22:27
>
> C bitfields are problematic and best avoided. Developers
> interacting with hardware registers find themselves searching
> for easy-to-use alternatives. Common approach is to define
> structures or sets of macros containing mask and shift
On 01.07.2016 23:26, Jakub Kicinski wrote:
> C bitfields are problematic and best avoided. Developers
> interacting with hardware registers find themselves searching
> for easy-to-use alternatives. Common approach is to define
> structures or sets of macros containing mask and shift pair.
>