1. Configure the NVIC for the corresponding vector
2. For GPIO pins, configure the appropriate AFIO_EXTICRx register to select the correct pin (e.g. PA0)
3. Set the trigger condition (falling/rising or both)
4. Set the appropriate bit in the event mask register