• Accesing bit addressable variables
    I was wondering what the "best" way to set a bit in a variable declared in the bit addressable area. Originally I declared each bit as an sbit and therefore can set and clear them as follows uint8_t...
  • bit addressing
    are 8051 derivatives bit addressable on the ports like PICs are? if so how do you write this in c? if i waned to address P1.4 would i write P1=P1|0x10 or am i way off the mark?
  • bit addressable area of LPC2368
    Hello Sir, I am using LPC2368 controller in my project My project have some 1-bit flag as shown in following code flag number 1 to 22 working properly means writing 0 or 1 has affect on that. But...
  • How to access bit addressable?
    Here is one to help a mechanical engineering student trying to program a microcontroller. P5 is a bit addressable register. In the header reg517.h is only the definiton of P5 as a sfr . How do I access...
  • Address bits in XDATA
    Hi, I am looking for a way to write some C51 functions to set or clear bits stored in the 8051 external data memory. For example, the following code was done in the 8051 assembly language: ;******...