• 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 variables
    I want to define a 8 BIT variable and char variable that occoupy the same memory loaction in the memory. so any change in the char variable should reflect the bit variable. In C we can define a structure...
  • 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: ;******...
  • Making SFR bit addressable
    We are using Cypress Microcontroller with Keil uVision 2 platforms. One of Cypress register OEB (address = 0xB2) non-bit addressable SFR registry. In our application we are planning to use as a bit...