********************************************************************************
* Detailed Description:
* Application performs basic initialization, initializes interrupts and NMI for
* WKPCFG pin (GPIO213).
* 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)
* WKPCFG (PortC P10-4) --> USER_SWITCHES (P6-4)
* Jumper J523 position 1-2 needs to be OPEN!
*
* If rising edge is detected (i.e. button is pressed), machine check exception
* 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)
* WKPCFG (PortC P10-4) --> USER_SWITCHES (P6-4)
* Jumper J523 position 1-2 needs to be OPEN!
********************************************************************************
Revision History:
Ver Date Author Description of Changes
0.0 May-22-2019 David Tosenovjan Initial version
*******************************************************************************/