• Return Statements inside Case Statements
    I encountered a wierd runtime error after compiling and running the following statement: FuncCall(unsigned char casenum) { switch (casenum) { case 0x00: return 0x0100; default: return 0x1000;...
  • Set Next Statement
    Hello, Is there a way to set the PC to a different place while debugging, just like the Set Next Statement possibility in Developper Studio? Rgds, --Geert
  • Need help with Assembly IF statements.
    I'm learning assembly language and trying to do the following, pretty easy task for the Cortex M0 32bit microcontroller: So far I just wrote the beginning which is: MOVS R0, #1 ;a = 1 MOVS R1...
  • C164CI: How to set CAN Pins to Port 8
    I am looking for a way to change the CAN-port-pins from port 4 to port 8 (because of the need of all adress-pins). The Infineon doc talks about register C1PCIR (3 IPC Bits). When I set these bits from...
  • Trying to set external interrupts to zero
    Hi, can anyone help me understand how to set external interrupts to zero. I am using a dc motor with an optoswitch and displaying the output in rpm on a LCD display. The calculation for rpm uses capture...