![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
Example description
The brown-out example shows how to use the brown-out detector (BOD) on the LPC8XX.The BOD is setup to generate a BOD interrupt when power is lost. The interrupt will attempt to toggle the LED on as power is lost.
To use this example, build and program it and then run it on the board. Power off the board by removing the power (USB) cable. As the power is declining on the board, the LED will toggle on (quickly) and then turn off as power is lost.
Special connection requirements
There are no special connection requirements for this example.
Build procedures:
LPC8xx example quickstart for IAR EWARM
LPC8xx example quickstart for Keil uVision4
LPC8xx example quickstart for Code Red Xpresso
Supported boards and board setup:
NXP Xpresso LPC812 board
Submitting LPCOpen issues:
Community support for LPCOpen
Functions | |
| void | BOD_IRQHandler (void) |
| int | main (void) |
| main routine for bown-out example | |