A object in RAM can be accessed as if it were a bit data type . This is how the variable can be accessed:
You can also define a union which contains the byte variable and a structure with bitfields that maps over the byte variable, for example:
This allows you to access byte as a whole (using var.byte), or any bit within that variable independently (using var.bitv.b0 till var.bitv.b7).
Microchip Technology acquires Atmel