Re: C question



THANK YOU GUYS!

=]
Xarion

"Xarion" <xarion@xxxxxxxxxxxxxxx> wrote in message
news:dc7jvt$9qg$1@xxxxxxxxxxxxxxxxxxxxx
> Hi everyone
>
> I am trying to get to terms with programming in C now.
>
> What does the following mean?
> I understand that it is a structure called dat_bits but ...
> 1) what does the 8 and the 24 mean?
> 2) why is there no name declared in line 3?
>
> 1: typedef struct {
> 2: _REG32 DATA : 8;
> 3: _REG32 :24;
> 4:} dat_bits;
>
>
> Thanx :)
> Xarion
>
>


.