Gary Chio

how to define a byte data for bit addressable?

Discussion created by Gary Chio on Jun 6, 2006
Latest reply on Jun 7, 2006 by Gary Chio
hi all,
i am the newbie of the Freescale MCU and trying to learn it base on the DEMO9S08QQ8 demo board.
how to define a byte that stores the status(or control) flag and access the bit independently?
like Bit7=LED7,Bit6=LED6...
then
LED7=1
LED6=0....etc..
 
thank you for your kindly help.:smileywink:

Message Edited by eos33 on 06-05-2006 09:15 PM

Outcomes