• OOP rules for global objects
    Hi, What I do in my current project: 1- I've developed a library by using C++ (compiler: arm-none-eabi-g++ -std=c++17) and generated a static library (arm-none-eabi-ar) with some c-api wrapper functions...
  • PCLint Rules Extension
    Hi, I read that PCLint supports MISRA rules and others, and that it allows for 'User defined semantic checking for function arguments and return values'. I'd like to figure out if there is also the...
  • Asembly code in C
    Hi......... can anyone tell me how can i insert a few assembly instructions in a C code
  • asembly prog is not working
    RAM location 47 to 52 have data 1,2,3,4,5,6 average to be taken and result in reg r3 mov r1,#06h Counter mov b,#06h Divisor mov r0,#47h mov a,@ro L1 add a,@r0 inc r0 djnz r1,L1 div ab mov...
  • Incremental encoder
    I am in possession of an incremental encoder, mounted on the shaft of an electrical machine. The encoder gives 1000 ppr. From the manual I read that it was a good idea to configure timer 3 in incremental...