Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Bit fields

2010-06-08 by John Samperi

At 11:07 AM 8/06/2010, you wrote:
>Initially I was thinking that I'd do a bit array,

If you have anywhere up to 64 bits then you just need
1 variable (uint64_t) and the bits twiddling is pretty easy.

>Seems simple in concept, but messy so far in C.

:-)


Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.