i'm working on a custom board with a SAM4E16C.
I would need to recognise if the supply voltage drops to go into backup mode and i'm not sure how to do this.
I have 3V3 on ADVREF and the supply voltage on PA17 (AFE0_AD0 pin), how do i configure the AFEC to go to backup mode when voltage drops? Is there another way?
I'm very thankful for any help!