• 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...
  • rearranging the bits of a sfr byte
    I have a board that I think is incorectly wired to a keypad and I want to change the way I send data to that port. I am trying to do somthing like this: struct keypad_pins1 { sbit row1 = P2^7; ...
  • C51 memcpy from SFR's
    Good morning Is there a way to memcpy from SFR's in the C51? I have tried to memcpy((char*)&buffer, (char*)&CAN0IF2DA1L, 8); but it doesn't work Other things i tried memcpy((char*)&buffer, CAN0IF2DA1L...
  • SFR'S
    How do I view the contents of sfr's in the UV2 debugger?
  • SFR access without keyword "sfr"
    Hi, I'm trying to access SFR memory using the hexa address of the SFR and using only "C" instructions. Since SFR memory is accessed by direct addressing mode, like the first 128 bytes of internal...