• debug stuck in if loop?
    I loaded the can example that came with the pack installer and stepped thru it till I got to these lines. #if (CAN_LOOPBACK == 1) if (can_cap.external_loopback != 1U) { return false; } status = ptrCAN...
  • Stuck at Interrupt while Stepping
    Hi, I wrote a simple PWM code and it was working fine. But when I tried to enable the match interrupts, the code just get gets stuck inside the interrupt handler while stepping in the debugger. ...
  • Break condition in while loop
    Following is my program. I am trying to read characters at different baud rate and if no character is received within 10 seconds I want to break out of the loop and similarly if any character other than...
  • time while loop
    How do i set up a while loop for a period of time? like one second? thnks
  • while loop and ISR routine
    Hello all, I am using 8051 controller with UART working. I am generating interrupt for UART RX. in main() I am sending one string to hyperterminal through UART TX and I can see it on Hyperterminal...