********************************************************************************
* Detailed Description:
* Application performs basic initialization, initializes interrupts and external
* interrupt for IRQ0 pin (alternative function of ETPUC9 pin).
* User needs to connect ETPUC9 pin to user switch and general purpose output
* ETPUA30 to user LED 1:
* ETPUA30 (PortP P23-15) --> USER_LED_1 (P7-1)
* ETPUC9 (PortV P30-8) --> USER_SWITCHES (P6-4)
*
* If rising edge is detected (i.e. button is pressed), interrupt is triggered
* and LED1 on is toggled.
*
* ------------------------------------------------------------------------------
* Test HW: MPC5777C-512DS Rev.A + MPC57xx MOTHER BOARD Rev.C
* MCU: PPC5777CMM03 2N45H CTZZS1521A
* Fsys: PLL1 = core_clk = 264MHz, PLL0 = 192MHz
* Debugger: Lauterbach Trace32
* Target: internal_FLASH
* Terminal: 19200-8-no parity-1 stop bit-no flow control on eSCI_A
* EVB connection: ETPUA30 (PortP P23-15) --> USER_LED_1 (P7-1)
* ETPUC9 (PortV P30-8) --> USER_SWITCHES (P6-4)
********************************************************************************