Purpose:
Program to test Brown Out Detection (BOD) on LPC11xxLV

0.8 is for BOD reset,  
1.9 is for POR reset, (D2 LED2)
0.9 is for BOD interrupt. (D1 LED1)
1.4 is an external interrupt to trigger power down.

Note:
Tested on LPC1101LV Development Board

Running mode:
* Compile, Flash the program and reset.

Procedure:

  The procedure is:
  (1) P1.9 (POR reset indicator) should blink on after power cycle.
  (2) When voltage(VDD CORE) falls to the BOD interrupt level, BOD Interrupt indicator
  (p0.9) will go high, and POR reset indicator (p1.9) will go low. 
  (3) When voltage raises, BOD interrupt indicator (p0.9) will go low, POR RESET indicator 
  (p1.9) will toggle again. 
  (4) When voltage drops further to the BOD RESET, BOD RESET (p0.8) indicator will 
  toggle. 
  (5) Once it happens, BOD interrupt is disabled. 
   
	  
   If DEEPSLEEP_BOD_WAKEUP is enabled. It will test, when MCU is in deep sleep mode, BOD RESET can be used as the wakeup source. 
	  The procedure is: 
	  (1) Put the MCU into deep sleep mode by providing a falling edge pulse on PIO1_4
	  (2) Decrease the VDD CORE voltage below BOD RESET.
	  (3) Increase the VDD CORE voltage back to BOD RESET range.
	  (4) The system will be waken up, and BOD RESET indicator (P0.8) should blink. 