Interrupts Flashcards
are the section of hardware and software on microcontroller which is capable of monitoring the external event on the input pin
Interrupts
Types of Interrupts
- Hardware
- Software
These occur in response to an external event, like
a pin going high or low.
Hardware Interrupts
These occur in response to a software instruction.
Software Interrupts
There are five types of triggering Arduino interrupts
- CHANGE
- RISING
- FALLING
- LOW
When signal change even if signal rise or signal fall or if the signal is in low state at 0 or if the signal is in high state trigger 5v
CHANGE
On a _____ edge the signal going from low to high means signal triggering from 0v to 5v
RISING
On a _____ edge the signal going from high to low means signal is triggering from 5v to 0v
FALLING
Is a continuous trigger whenever the signal is low in other words the signal is on 0v
LOW
Functions of Interrupts
- interrupts()
- noInterrupts()
- attachInterrupt()