Once you write the interrupt function code, you must associate this function with an interrupt vector. Do this by initializing the vector table. You can initialize the vector table in the following ways: