lpcware

BOD Configuration & Interrupt

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by scriptr on Wed May 04 10:49:15 MST 2011
Hi,

To measure the battery remaining, we like to configure BODCTRL to get an interrupt. However we couldn't succeed.

What we do is;
LPC_SYSCON->BODCTRL = 0x1C
We hope to get an interrupt when the voltage decreases under 2.8 V.

But our following method is not called as an interrupt;

void BOD_IRQHandler(void) {}

Could you help us?

Thanks

Outcomes