• func and func()
    Hi All, let a function prototype is : bit func(); Now if it is used as follows (inadvertently) then what would it do ?? Why not the complier throws an error ?? if (func) { ... ... } else...
  • Seeking Wisdom; Func calls from interupt and Volatile
    Hi Everyone, I have 3 controllers, all using SILABS C8051F040 SOC. They perfrom various functions on there own and communicate via CAN. They are working well together (I fixed one major problem I will...
  • Calling ASM functions from C
    I'm using the uVision2 8051 eval version trying to see if it's worth leaving my normal asm enviroment. Natualy I have some asm functions that I would like to take with me, but I need to figure out how...
  • problem with FUNC
    I always get an error 129 (missing ';' before 'void') when I compile in this part: func void iicstart (void) { sda = 1; scl = 1; del4us () sda = 0; del4us () scl = 0; del4us () } what...
  • Calling C from ASM with Realview
    I made a interrupt handler with priorities. I can call C functions from ASM but have problems when calling C functions with the __irq prefix. It seems that I cannot use the prefix in this case because...