• 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...
  • 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...
  • 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...
  • 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...
  • 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; ...