Defines

# Interrupt

External Interrupt Module. More...

## Defines
#define | Enable_int0_interrupt() (EIMSK|=(1<<INT0))
#define | Enable_int1_interrupt() (EIMSK|=(1<<INT1))
#define | Enable_int2_interrupt() (EIMSK|=(1<<INT2))
#define | Enable_int3_interrupt() (EIMSK|=(1<<INT3))
#define | Enable_int4_interrupt() (EIMSK|=(1<<INT4))
#define | Enable_int5_interrupt() (EIMSK|=(1<<INT5))
#define | Enable_int6_interrupt() (EIMSK|=(1<<INT6))
#define | Enable_int7_interrupt() (EIMSK|=(1<<INT7))
#define | Disable_int0_interrupt() (EIMSK&=~(1<<INT0))
#define | Disable_int1_interrupt() (EIMSK&=~(1<<INT1))
#define | Disable_int2_interrupt() (EIMSK&=~(1<<INT2))
#define | Disable_int3_interrupt() (EIMSK&=~(1<<INT3))
#define | Disable_int4_interrupt() (EIMSK&=~(1<<INT4))
#define | Disable_int5_interrupt() (EIMSK&=~(1<<INT5))
#define | Disable_int6_interrupt() (EIMSK&=~(1<<INT6))
#define | Disable_int7_interrupt() (EIMSK&=~(1<<INT7))
#define | Enable_pc_interrupt() (PCICR|=(1<<PCIE0))
#define | Enable_pcint0_interrupt() (PCMSK0|=(1<<PCINT0),Enable_pc_interrupt())
#define | Enable_pcint1_interrupt() (PCMSK0|=(1<<PCINT1),Enable_pc_interrupt())
#define | Enable_pcint2_interrupt() (PCMSK0|=(1<<PCINT2),Enable_pc_interrupt())
#define | Enable_pcint3_interrupt() (PCMSK0|=(1<<PCINT3),Enable_pc_interrupt())
#define | Enable_pcint4_interrupt() (PCMSK0|=(1<<PCINT4),Enable_pc_interrupt())
#define | Enable_pcint5_interrupt() (PCMSK0|=(1<<PCINT5),Enable_pc_interrupt())
#define | Enable_pcint6_interrupt() (PCMSK0|=(1<<PCINT6),Enable_pc_interrupt())
#define | Enable_pcint7_interrupt() (PCMSK0|=(1<<PCINT7),Enable_pc_interrupt())
#define | Disable_pc_interrupt() (PCICR|=~(1<<PCIE0))
#define | Disable_pcint0_interrupt() (PCMSK0&=~(1<<PCINT0))
#define | Disable_pcint1_interrupt() (PCMSK0&=~(1<<PCINT1))
#define | Disable_pcint2_interrupt() (PCMSK0&=~(1<<PCINT2))
#define | Disable_pcint3_interrupt() (PCMSK0&=~(1<<PCINT3))
#define | Disable_pcint4_interrupt() (PCMSK0&=~(1<<PCINT4))
#define | Disable_pcint5_interrupt() (PCMSK0&=~(1<<PCINT5))
#define | Disable_pcint6_interrupt() (PCMSK0&=~(1<<PCINT6))
#define | Disable_pcint7_interrupt() (PCMSK0&=~(1<<PCINT7))
#define | Configure_int0_low_level() (EICRA&=~((1<<ISC00)+(1<<ISC01)))
#define | Configure_int0_logic_change() (EICRA|=(1<<ISC00),EICRA&=~(1<<ISC01))
#define | Configure_int0_falling_edge() (EICRA&=~(1<<ISC00),EICRA|=(1<<ISC01))
#define | Configure_int0_rising_edge() (EICRA|=(1<<ISC00)+(1<<ISC01))
#define | Configure_int1_low_level() (EICRA&=~((1<<ISC10)+(1<<ISC11)))
#define | Configure_int1_logic_change() (EICRA|=(1<<ISC10),EICRA&=~(1<<ISC11))
#define | Configure_int1_falling_edge() (EICRA&=~(1<<ISC10),EICRA|=(1<<ISC11))
#define | Configure_int1_rising_edge() (EICRA|=(1<<ISC10)+(1<<ISC11))
#define | Configure_int2_low_level() (EICRA&=~((1<<ISC20)+(1<<ISC21)))
#define | Configure_int2_logic_change() (EICRA|=(1<<ISC20),EICRA&=~(1<<ISC21))
#define | Configure_int2_falling_edge() (EICRA&=~(1<<ISC20),EICRA|=(1<<ISC21))
#define | Configure_int2_rising_edge() (EICRA|=(1<<ISC20)+(1<<ISC21))
#define | Configure_int3_low_level() (EICRA&=~((1<<ISC30)+(1<<ISC31)))
#define | Configure_int3_logic_change() (EICRA|=(1<<ISC30),EICRA&=~(1<<ISC31))
#define | Configure_int3_falling_edge() (EICRA&=~(1<<ISC30),EICRA|=(1<<ISC31))
#define | Configure_int3_rising_edge() (EICRA|=(1<<ISC30)+(1<<ISC31))
#define | Configure_int4_low_level() (EICRB&=~((1<<ISC40)+(1<<ISC41)))
#define | Configure_int4_logic_change() (EICRB|=(1<<ISC40),EICRB&=~(1<<ISC41))
#define | Configure_int4_falling_edge() (EICRB&=~(1<<ISC40),EICRB|=(1<<ISC41))
#define | Configure_int4_rising_edge() (EICRB|=(1<<ISC40)+(1<<ISC41))
#define | Configure_int5_low_level() (EICRB&=~((1<<ISC50)+(1<<ISC51)))
#define | Configure_int5_logic_change() (EICRB|=(1<<ISC50),EICRB&=~(1<<ISC51))
#define | Configure_int5_falling_edge() (EICRB&=~(1<<ISC50),EICRB|=(1<<ISC51))
#define | Configure_int5_rising_edge() (EICRB|=(1<<ISC50)+(1<<ISC51))
#define | Configure_int6_low_level() (EICRB&=~((1<<ISC60)+(1<<ISC61)))
#define | Configure_int6_logic_change() (EICRB|=(1<<ISC60),EICRB&=~(1<<ISC61))
#define | Configure_int6_falling_edge() (EICRB&=~(1<<ISC60),EICRB|=(1<<ISC61))
#define | Configure_int6_rising_edge() (EICRB|=(1<<ISC60)+(1<<ISC61))
#define | Configure_int7_low_level() (EICRB&=~((1<<ISC70)+(1<<ISC71)))
#define | Configure_int7_logic_change() (EICRB|=(1<<ISC70),EICRB&=~(1<<ISC71))
#define | Configure_int7_falling_edge() (EICRB&=~(1<<ISC70),EICRB|=(1<<ISC71))
#define | Configure_int7_rising_edge() (EICRB|=(1<<ISC70)+(1<<ISC71))

## Detailed Description

External Interrupt Module.

Low level macros that allow to configure the external int7 interrupt.

Low level macros that allow to configure the external int6 interrupt.

Low level macros that allow to configure the external int5 interrupt.

Low level macros that allow to configure the external int4 interrupt.

Low level macros that allow to configure the external int3 interrupt.

Low level macros that allow to configure the external int2 interrupt.

Low level macros that allow to configure the external int1 interrupt.

Low level macros that allow to configure the external int0 interrupt.

Low level macros that allow to Disable external PinChange interrupt.

Low level macros that allow to enable external PinChange interrupt.

Low level macros that allow to enable external interrupt.

## Define Documentation

#define Enable_int0_interrupt | ( | ) | (EIMSK|=(1<<INT0))

Definition at line 58 of file ext_int_drv.h.

#define Enable_int1_interrupt | ( | ) | (EIMSK|=(1<<INT1))

Definition at line 59 of file ext_int_drv.h.

#define Enable_int2_interrupt | ( | ) | (EIMSK|=(1<<INT2))

Definition at line 60 of file ext_int_drv.h.

#define Enable_int3_interrupt | ( | ) | (EIMSK|=(1<<INT3))

Definition at line 61 of file ext_int_drv.h.

#define Enable_int4_interrupt | ( | ) | (EIMSK|=(1<<INT4))

Definition at line 62 of file ext_int_drv.h.

#define Enable_int5_interrupt | ( | ) | (EIMSK|=(1<<INT5))

Definition at line 63 of file ext_int_drv.h.

#define Enable_int6_interrupt | ( | ) | (EIMSK|=(1<<INT6))

Definition at line 64 of file ext_int_drv.h.

#define Enable_int7_interrupt | ( | ) | (EIMSK|=(1<<INT7))

Definition at line 65 of file ext_int_drv.h.

#define Disable_int0_interrupt | ( | ) | (EIMSK&=~(1<<INT0))

Definition at line 71 of file ext_int_drv.h.

#define Disable_int1_interrupt | ( | ) | (EIMSK&=~(1<<INT1))

Definition at line 72 of file ext_int_drv.h.

#define Disable_int2_interrupt | ( | ) | (EIMSK&=~(1<<INT2))

Definition at line 73 of file ext_int_drv.h.

#define Disable_int3_interrupt | ( | ) | (EIMSK&=~(1<<INT3))

Definition at line 74 of file ext_int_drv.h.

#define Disable_int4_interrupt | ( | ) | (EIMSK&=~(1<<INT4))

Definition at line 75 of file ext_int_drv.h.

#define Disable_int5_interrupt | ( | ) | (EIMSK&=~(1<<INT5))

Definition at line 76 of file ext_int_drv.h.

#define Disable_int6_interrupt | ( | ) | (EIMSK&=~(1<<INT6))

Definition at line 77 of file ext_int_drv.h.

#define Disable_int7_interrupt | ( | ) | (EIMSK&=~(1<<INT7))

Definition at line 78 of file ext_int_drv.h.

#define Enable_pc_interrupt | ( | ) | (PCICR|=(1<<PCIE0))

Definition at line 84 of file ext_int_drv.h.

#define Enable_pcint0_interrupt | ( | ) | (PCMSK0|=(1<<PCINT0),Enable_pc_interrupt())

Definition at line 85 of file ext_int_drv.h.

#define Enable_pcint1_interrupt | ( | ) | (PCMSK0|=(1<<PCINT1),Enable_pc_interrupt())

Definition at line 86 of file ext_int_drv.h.

#define Enable_pcint2_interrupt | ( | ) | (PCMSK0|=(1<<PCINT2),Enable_pc_interrupt())

Definition at line 87 of file ext_int_drv.h.

#define Enable_pcint3_interrupt | ( | ) | (PCMSK0|=(1<<PCINT3),Enable_pc_interrupt())

Definition at line 88 of file ext_int_drv.h.

#define Enable_pcint4_interrupt | ( | ) | (PCMSK0|=(1<<PCINT4),Enable_pc_interrupt())

Definition at line 89 of file ext_int_drv.h.

#define Enable_pcint5_interrupt | ( | ) | (PCMSK0|=(1<<PCINT5),Enable_pc_interrupt())

Definition at line 90 of file ext_int_drv.h.

#define Enable_pcint6_interrupt | ( | ) | (PCMSK0|=(1<<PCINT6),Enable_pc_interrupt())

Definition at line 91 of file ext_int_drv.h.

#define Enable_pcint7_interrupt | ( | ) | (PCMSK0|=(1<<PCINT7),Enable_pc_interrupt())

Definition at line 92 of file ext_int_drv.h.

#define Disable_pc_interrupt | ( | ) | (PCICR|=~(1<<PCIE0))

Definition at line 98 of file ext_int_drv.h.

#define Disable_pcint0_interrupt | ( | ) | (PCMSK0&=~(1<<PCINT0))

Definition at line 99 of file ext_int_drv.h.

#define Disable_pcint1_interrupt | ( | ) | (PCMSK0&=~(1<<PCINT1))

Definition at line 100 of file ext_int_drv.h.

#define Disable_pcint2_interrupt | ( | ) | (PCMSK0&=~(1<<PCINT2))

Definition at line 101 of file ext_int_drv.h.

#define Disable_pcint3_interrupt | ( | ) | (PCMSK0&=~(1<<PCINT3))

Definition at line 102 of file ext_int_drv.h.

#define Disable_pcint4_interrupt | ( | ) | (PCMSK0&=~(1<<PCINT4))

Definition at line 103 of file ext_int_drv.h.

#define Disable_pcint5_interrupt | ( | ) | (PCMSK0&=~(1<<PCINT5))

Definition at line 104 of file ext_int_drv.h.

#define Disable_pcint6_interrupt | ( | ) | (PCMSK0&=~(1<<PCINT6))

Definition at line 105 of file ext_int_drv.h.

#define Disable_pcint7_interrupt | ( | ) | (PCMSK0&=~(1<<PCINT7))

Definition at line 106 of file ext_int_drv.h.

#define Configure_int0_low_level | ( | ) | (EICRA&=~((1<<ISC00)+(1<<ISC01)))

Definition at line 112 of file ext_int_drv.h.

#define Configure_int0_logic_change | ( | ) | (EICRA|=(1<<ISC00),EICRA&=~(1<<ISC01))

Definition at line 113 of file ext_int_drv.h.

#define Configure_int0_falling_edge | ( | ) | (EICRA&=~(1<<ISC00),EICRA|=(1<<ISC01))

Definition at line 114 of file ext_int_drv.h.

#define Configure_int0_rising_edge | ( | ) | (EICRA|=(1<<ISC00)+(1<<ISC01))

Definition at line 115 of file ext_int_drv.h.

#define Configure_int1_low_level | ( | ) | (EICRA&=~((1<<ISC10)+(1<<ISC11)))

Definition at line 121 of file ext_int_drv.h.

#define Configure_int1_logic_change | ( | ) | (EICRA|=(1<<ISC10),EICRA&=~(1<<ISC11))

Definition at line 122 of file ext_int_drv.h.

#define Configure_int1_falling_edge | ( | ) | (EICRA&=~(1<<ISC10),EICRA|=(1<<ISC11))

Definition at line 123 of file ext_int_drv.h.

#define Configure_int1_rising_edge | ( | ) | (EICRA|=(1<<ISC10)+(1<<ISC11))

Definition at line 124 of file ext_int_drv.h.

#define Configure_int2_low_level | ( | ) | (EICRA&=~((1<<ISC20)+(1<<ISC21)))

Definition at line 130 of file ext_int_drv.h.

#define Configure_int2_logic_change | ( | ) | (EICRA|=(1<<ISC20),EICRA&=~(1<<ISC21))

Definition at line 131 of file ext_int_drv.h.

#define Configure_int2_falling_edge | ( | ) | (EICRA&=~(1<<ISC20),EICRA|=(1<<ISC21))

Definition at line 132 of file ext_int_drv.h.

#define Configure_int2_rising_edge | ( | ) | (EICRA|=(1<<ISC20)+(1<<ISC21))

Definition at line 133 of file ext_int_drv.h.

#define Configure_int3_low_level | ( | ) | (EICRA&=~((1<<ISC30)+(1<<ISC31)))

Definition at line 139 of file ext_int_drv.h.

#define Configure_int3_logic_change | ( | ) | (EICRA|=(1<<ISC30),EICRA&=~(1<<ISC31))

Definition at line 140 of file ext_int_drv.h.

#define Configure_int3_falling_edge | ( | ) | (EICRA&=~(1<<ISC30),EICRA|=(1<<ISC31))

Definition at line 141 of file ext_int_drv.h.

#define Configure_int3_rising_edge | ( | ) | (EICRA|=(1<<ISC30)+(1<<ISC31))

Definition at line 142 of file ext_int_drv.h.

#define Configure_int4_low_level | ( | ) | (EICRB&=~((1<<ISC40)+(1<<ISC41)))

Definition at line 148 of file ext_int_drv.h.

#define Configure_int4_logic_change | ( | ) | (EICRB|=(1<<ISC40),EICRB&=~(1<<ISC41))

Definition at line 149 of file ext_int_drv.h.

#define Configure_int4_falling_edge | ( | ) | (EICRB&=~(1<<ISC40),EICRB|=(1<<ISC41))

Definition at line 150 of file ext_int_drv.h.

#define Configure_int4_rising_edge | ( | ) | (EICRB|=(1<<ISC40)+(1<<ISC41))

Definition at line 151 of file ext_int_drv.h.

#define Configure_int5_low_level | ( | ) | (EICRB&=~((1<<ISC50)+(1<<ISC51)))

Definition at line 157 of file ext_int_drv.h.

#define Configure_int5_logic_change | ( | ) | (EICRB|=(1<<ISC50),EICRB&=~(1<<ISC51))

Definition at line 158 of file ext_int_drv.h.

#define Configure_int5_falling_edge | ( | ) | (EICRB&=~(1<<ISC50),EICRB|=(1<<ISC51))

Definition at line 159 of file ext_int_drv.h.

#define Configure_int5_rising_edge | ( | ) | (EICRB|=(1<<ISC50)+(1<<ISC51))

Definition at line 160 of file ext_int_drv.h.

#define Configure_int6_low_level | ( | ) | (EICRB&=~((1<<ISC60)+(1<<ISC61)))

Definition at line 166 of file ext_int_drv.h.

#define Configure_int6_logic_change | ( | ) | (EICRB|=(1<<ISC60),EICRB&=~(1<<ISC61))

Definition at line 167 of file ext_int_drv.h.

#define Configure_int6_falling_edge | ( | ) | (EICRB&=~(1<<ISC60),EICRB|=(1<<ISC61))

Definition at line 168 of file ext_int_drv.h.

#define Configure_int6_rising_edge | ( | ) | (EICRB|=(1<<ISC60)+(1<<ISC61))

Definition at line 169 of file ext_int_drv.h.

#define Configure_int7_low_level | ( | ) | (EICRB&=~((1<<ISC70)+(1<<ISC71)))

Definition at line 175 of file ext_int_drv.h.

#define Configure_int7_logic_change | ( | ) | (EICRB|=(1<<ISC70),EICRB&=~(1<<ISC71))

Definition at line 176 of file ext_int_drv.h.

#define Configure_int7_falling_edge | ( | ) | (EICRB&=~(1<<ISC70),EICRB|=(1<<ISC71))

Definition at line 177 of file ext_int_drv.h.

#define Configure_int7_rising_edge | ( | ) | (EICRB|=(1<<ISC70)+(1<<ISC71))

Definition at line 178 of file ext_int_drv.h.