| ??? 07/05/06 13:02 Read: times |
#119668 - sbit and BData - code formatted Responding to: ???'s previous message |
You can use sbit and BData as ie..
bdata U8 General_flags; //----General Flag settings-------------------- sbit check_menu = General_flags^0; sbit starting = General_flags^1; sbit counting = General_flags^2; sbit can_turn_on = General_flags^3; Its dependant on how much BData your variable has..and is specific to the CPU family and the compiler HTH Rob |
| Topic | Author | Date |
| bit variable using struct | 01/01/70 00:00 | |
| Which compiler? | 01/01/70 00:00 | |
| Insuffiicient Info; Post formatted code | 01/01/70 00:00 | |
| Asking for help? | 01/01/70 00:00 | |
| Observation | 01/01/70 00:00 | |
| showing lack of discipline | 01/01/70 00:00 | |
| compiler | 01/01/70 00:00 | |
| Sbit and BData | 01/01/70 00:00 | |
| sbit and BData - code formatted | 01/01/70 00:00 | |
| 16 bits | 01/01/70 00:00 | |
| more hint | 01/01/70 00:00 | |
| Std C bitfields != Keil bit-addresssable | 01/01/70 00:00 | |
| What this guy said | 01/01/70 00:00 | |
| another example of two things | 01/01/70 00:00 | |
| The problem with bitfields | 01/01/70 00:00 | |
Granted | 01/01/70 00:00 |



