Jak vidíte, použití je trošku komplikované, ale naštěstí se dá celkem výrazně zjednodušit. [size=9][i][color=#C0C0C0]Bohužel se tento způsob nedá použít pro PORTx, DDRx apod. - tedy alespoň ne přímo (viz. dále)[/color] - tuto informaci beru zpět - viz následující příspěvek od Radiuse.[/i][/size] [code]struct { unsigned char Bit0 : 1; unsigned char Bit1 : 1; unsigned char Bit2 : 1; unsigned char Bit3 : 1; unsigned char Bit4 : 1; unsigned char Bit5 : 1; unsigned char Bit6 : 1; unsigned char Bit7 : 1; }ProgramStatus;[/code] nebo varianta s definicí typu: [code]typedef struct { unsigned char Bit0 : 1; unsigned char Bit1 : 1; unsigned char Bit2 : 1; unsigned char Bit3 : 1; unsigned char Bit4 : 1; unsigned char Bit5 : 1; unsigned char Bit6 : 1; unsigned char Bit7 : 1; }ProgramStatusTyp; // 1 byte [code]