• 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...
  • Does tsk_lock clear pending interrupt flag?
    Hi everybody, I have a question related to implementation of tsk_lock() for Cortex-M3. The manual says that the function disables the timer interrupt and thus prevents the RTOS from switching. But disabling...
  • Does tsk_lock clear pending interrupt flag?
    Hi everybody, I have a question related to implementation of tsk_lock() for Cortex-M3. The manual says that the function disables the timer interrupt and thus prevents the RTOS from switching. But disabling...
  • Busy flag of AT89C51ED2 is not getting cleared!!!
    Hi Keil, I have written the follwing code for writing the byte in EEPROM in ED2. The Problem is BUSY flag is not being cleared. while(!(EECON & 0x01)) ; EA = 0; EECON |= 0x02; XBYTE[0X0055...
  • Clear or Set NVIC Interrupts with NVIC->ICER[0] and ISER[0] causes error
    When setting or clearing NVIC Interrupts without library functions the |= operator doesnt work. When I used it, all other interrupts were cleared. The stm32F103 Datasheet says that the actual enable...