Re: NVRAM
Posted: Sun Nov 09, 2014 11:47 pm
Ahhh... &H400FC180 (The RSID register) bit 3 contains a flag that is set when power voltage falls below the BOD trigger level.
This register is defined in LPC17xx.bas as SCB_RSIR
One could watch that bit with BOD interrupt disabled, then when it becomes set to a "1", enable the interrupts, and see what happens.
I really don't have time to explore that now. Anyone who would, please do.
LLoyd
This register is defined in LPC17xx.bas as SCB_RSIR
One could watch that bit with BOD interrupt disabled, then when it becomes set to a "1", enable the interrupts, and see what happens.
I really don't have time to explore that now. Anyone who would, please do.
LLoyd