piclist 2001\12\04\065813a >
Thread: Accessing a var as a byte or bits in C
www.piclist.com/techref/microchip/languages.htm?key=c
flavicon
face BY : mikespam@whitewing.co.uk



On Tue, 4 Dec 2001 09:30:14 +1000, you wrote:

{Quote hidden}

Could you then simplify the access to the bits by doing #define modeflag myData.Bits.Bit0
modeflag=0;
etc.  ?

Could you also simplify the above declaration by using bit Bit0;
instead of int Bit0:1;


{Quote hidden}

>> {Original Message removed}
<ihcp0uo7512nmtccbo306nkcvrlq7crus6@4ax.com> quoted-printable

In reply to: <002001c17c52$7652e0b0$641010ac@tardis>
See also: www.piclist.com/techref/microchip/languages.htm?key=c
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Accessing a var as a byte or bits in C

month overview.

new search...