• atomic operations
    Note: This was originally posted on 31st August 2010 at http://forums.arm.com Hi all, I have to migrate Windows Code to Linux for an ARM processor. The Windows code uses the InterlockedIncrement function...
  • __asm uint32_t test (uint32_t data) problem
    Want to declare an assembler function (to be called from standard C) for a Cortex-M3 (LPC1343) like this: __asm uint32_t RevBytes (uint32_t data) { rev r0, r0 bx lr } Using armcc.exe V5.06...
  • uint32_t undefined
    uVision puzzles me a fair bit. In my project I have declared instances of TIM_TimeBaseInitTypeDef, RCC_ClocksTypeDef, I2S_InitTypeDef without any problems. Now I'm trying to declare an instance...
  • function __set_MSP(uint32_t topOfMainStack)
    Hello !!!!! I trying to use __set_MSP(uint32_t topOfMainStack), but when I'm using __set_MSP it is needed to add: #include "core_cm3.h" #include "core_cmFunc.h" When I do this it occured errors...
  • Atomicity
    Is the operation below an atomic operation in a multitasking environment like RTX-51? If it is not, then what is supposed to do to make it an atomic one except using locking mechanisms? void func...