• Is this code interrupt safe?
    Hi all, I check the assembly and I think that the call to interrupt_safe_assign_ulong (see below) is indeed interrupt safe but I am not sure (I am refering to the use of the static variable...
  • safe sprintf
    Hi, Unfortunately it seems that Keil brings only the standard version of sprintf which ist not safe against Buffer Overflows. So I am looking for a safe version (like snprintf from libsafe). Can...
  • Is this safe
    Is it safe to cast a null to struct just to get the size: Example: sizeof(((MEMORY_STRUCT*)0)->GWCD.sid) Thanks JD
  • long long in interrupts: how to write safe in main? (disable int or semaphore?)
    Hi, please have a look at the following code (STM32F407): volatile long long vllPosition; void TIM1_UP_TIM10_IRQHandler(void){ ... do interrupt stuff ... vllPosition ++; ... do interrupt stuff...
  • Displaying current time with realtime clock
    Hi all, I am using C167CS processor. I want to implement a real clock using realtime clock within C167CS which can show the current time as hours:minutes:seconds. I would appreciate if someone can...