I want my mega88 to stop, halt, go no more, quit, not resume (unless you cycle power)
cli ;kill all interrupts sts pcmsk2, zero ;turn off PCINT18 sts PCICR, zero ;kill the pin interrupts ldi temp, 0b00000101 ;powerdown mode sts smcr, temp sleep
I'd think shutting off the interrupts, and setting the shutdown would put it to sleep....but it just keeps chugging along. ...am I overlooking something? I am using PC18 and uart RX interrupts.