Hello everybody!
I tried to implement following code:
struct
{
unsigned test1:1;
unsigned test2:3;
} bit;
I get allwas an error. Knows anybody the problem.
Thanks in advance for your answers!
Greatings
Schorsch
bitfield struct don`t work Topic is solved
-
- Member
- Posts: 12
- Joined: Sun Feb 16, 2014 8:36 am
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
Bitfields aren't supported in XC but should work in C.