I'm using an ATmega645PA. I have a 32.768 KHz crystal as the input clock for timer2 so I can keep track of time while in sleep mode.
I have a button connected to a PCINT pin, and I need the AVR to wake up when the button is pressed. I also need the AVR to wake up briefly when timer2 overflows.
I want to use the internal pull-up resistors on my buttons, to save on components.
I've read the datasheet but I can't determine whether or not the internal pull-up resistors will be active during power-save mode. Can anybody answer this? Also will there be any unexpected current consumption in this case? (I've seen the internal circuit diagrams in the datasheet, and read the electrical characteristics section, neither will tell me)
Should I implement external pull-down resistors on my buttons instead?