Interrupt execution method


hello again :)

i using 328p read 2 sensor inputs connected interrupts. controller takes in 6000 pulses second, 6hz on both interrupts. interrupt triggers flag value, don't trigger same value, ex if sense1() , sense2() functions, don't change flag x together, it's x , y separately.
my question is, there times when both inputs fired together, or rendered high together.
do still run function, or kind of conflict arise since 2 interrupts fired ?

thanks :)

if 2 interrupts pending @ same time, mcu service 1 highest priority. when isr has completed, if other interrupt still pending (that is, reason interrupt hasn't gone away), service other one. both serviced.


Arduino Forum > Using Arduino > Microcontrollers > Interrupt execution method


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62