• Interrupts, flags and functions
    Hello, I need to know the exact moment when an input is set. I'm using XC167CI and I have fast interrupts. This way is full, I mean I have used all fast interrupts. I don't know how I can know when...
  • Reset Indication Flags
    I would like to test the reset indication flags in the WDTCON register upon reset. These flags are reset upon execution of EINIT. The EINIT instruction occurs early in the Start167.a66 routine. How do...
  • Clarification on Clearing of the EX1 Interrupt Flag
    Hi all, I was wondering if anyone could shed some light on the behaviour of the external interrupts, especially their flag behaviour. void int1 (void) interrupt 2 using 2 { P1_4 ^= 1; // Toggle...
  • C167 WDTCON reset indicator flags are not working
    On reset recovery of the c167 controller i am reading wdtcon reset reason indication flags before EINIT instruction execution (Startup file). Flags are allways set to 0. due to this unable to identify...
  • isr_send_signal( ) doesn't notify if signal flag already set.
    I want to know in my ISR whether the last signal was not received. os_send_signal() returns NOT_OK in this situation, however looking at the source for RTX166 full, it looks like the isr_send_signal(...