Re: A quick c programming survey question

From: Bruce (bruce_at_nospam.com)
Date: 05/15/04


Date: Sat, 15 May 2004 00:36:51 GMT

In comp.arch.embedded
Grant Edwards <grante@visi.com> wrote:

>On 2004-05-14, tim <520010973502removethis@t-online.de> wrote:
>> A quick question I would like to collate answers from.
>
>> Do you (your company) prefer to:
>>
>> a) Create a 'bits' structure for each register and access using
>> the dot or arrow operator.
>>
>> b) Create a set of bit access functions (or perhaps macros)
>> and access using those?
>
> c) Use & and | and bitmasks.
>
> d) All of the above
>

e) Hire developers you trust and don't worry about how they do it.