Declaring a variable which will be used in an interrupt

volatile unsigned int my_irq_variable = 0;