Hey, I'm student and i'm working with the MC9S12DP512. My project is to put the µC into the different modes of consumption.
My μC is mounted on a board with only 2 buttons on PT7 & PT6 (vector address FFE0 / FFE2). Is it possible to wake up the μC with one of these interruptions? Currently, it consumes 50mA and I'd like to pass below 15mA.
I read the application note with the instructions to use : asm ANDCC #0x7F; / asm WAI or STOP ...
So, do you have some example ?
Thanks