• How to copy SBUF in SPIDAT
    Hi everybody ! I'm currently working on a project with a ADuC847 and I would like to copy the content of SBUF (data register of UART) to SPIDAT (data register of SPI). Here is a part of my code...
  • Entering data into SPIDAT register
    I am trying to debug some simple code to read and write to the SPI port on an ADuC831. I can setup the port just fine and send data out. However, is there a way for me to "read in" a value into the...
  • Clear of External Interrupt Pending bit
    Hi, I'm using Keil MDK-ARM 4.22a RTX OS on a STM3220G Eval board. I added RTX and FS to the "Memory" example and everything is working fine. I have tasks that read a file while another one is...
  • abs() / fabs() shortcut by clearing sign bit
    I am optimizing my code and where I need the absolute value of a float I want to just clear the sign bit, instead of using fabs(). Is this a safe method? I can't see any problems. Comments please. ...
  • 64 bit float
    I know Keil does not support a 64 bit float. Does anybody know of a way to create a 64 bit float? Maybe from a 32 bit float? The original data is in a ushort. We to create and read a 64 bit float...