1. You should begin to be prepared for self-learning. Read IRQ section on page 6 of the Cypress pins datasheet for details about the interrupts generated by I/O pins. 2. According to the schematics of the CY8CKIT-001 board, The SW1 and SW2 push buttons are connected to ground when pressed. Therefore, when using a I/O pin to monitor its state, the pin should be configured as resistive pull up mode so that when the button is not pressed the pin will receive a high signal, and when the button is pressed the pin will receive a ground signal. 3. When configuring a I/O pin to support interrupt, the interrupt can only be edge triggered rather than level triggered. 4. In order for the interrupt service routine to be serviced quickly, it should contain as few funtional calls as possible.