Hello,
Could you please tell us how to use the BOR1 as interrupt source?
My customer asked a couple of questions:
Q1. Which is the interrupt vector for BOR1? (I think it is System control, but let me confirm.)
Q2. How to use the BOR1 as *interrupt* source ?
We would be glad if there is a sample code or a procedure.
As long as I check the following bits would be used in the procedure..
PBORCTL.BOR1 = 0 /* BOR1 to trigger an interrupt */
RIS.BOR1RIS bit to know the BOR1.
MISC.BOR1MIS bit to know that the BOR1 has triggered an interrupt.
MISC.BOR1MIS =1 /* clear the interrupt flag. */
- - -
p.s. I'm aware of the another thread, https://e2e.ti.com/support/microcontrollers/other/f/908/t/842037 , which discuss that it is preferable to use BOR1 for reset. Not for interrupt.