1 Reply Latest reply on Mar 27, 2019 10:10 PM by AnkitaS_51

    Timer resets after halt on interrupt even when reset is not set to high

    tazhc_4089936

      After line 205 i was trying to trigger ultrasonic transmitter and resetting the timer by setting the trigger high , afterwards i would stop the transmission and set the reset to low to star counting time it takes to receive the signal.Once signal was receive my timer which was set to one shot halt on interrupt should stop since my capture generated an interrupt. But when i printed out read_counter the second time, my counter changes even before i reset the timer. Can anyone tell me why is it so. Thanks in advance