I am using ATmega324PB and the pins are configured this way. All the pins of PORTA , PORTB, PORTC, PORTD are defined as output and leaving me with PORTE, which is also being used for 5 inputs, PE2, PE3, PE4, PE5, PE6 are defined as input pins. Now pins of PORTE do not come under any interrupts, no external interrupts or pin change interrupt.
Is it possible to wake the MCU from sleep with signal on all the PORTE pins? Any trick I can use?
I can't use the other PORTS for wake up cause they are being used in the OUTPUT circuitry. I can't make PORTE output, because I need full 4 output PORTs for the application (so that I can do operations on the PORT directly I.E 8 bits) and also 5 INPUTS pins. This MCU is ideal for the job, fits perfectly except the wake from sleep thing.