This question already has an answer here:
I have searched and looked through the data sheet and I can't find the information I am looking for.
I am designing a circuit that uses an ATtiny45-20PU operating at 5V. I will be using three digital (high/low) inputs and driving one output that will draw 22mA when driven high (a PLC relay, APAN3105).
I am trying to figure out how to calculate the power consumption both when the output is low and when the output is high.
The datasheet I am looking at is here: http://www.mouser.com/ds/2/268/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATti-1065586.pdf
The power consumption when the output is low is important because the power supply is a battery.
The power consumption when the output is high is important so I can chose an appropriately rated voltage regulator.
I do understand that the operating speed chosen during programming will effect power consumption. High speed operation is not critical here as all of the inputs are electromechanical in nature and require a physical (human interface) input, so I plan to use as low of a speed as possible.
I don't want anyone to spoon feed me the answer here. I just need help figuring out how to get to the answer. Is there a more detailed datasheet that I am not finding? I searched the Atmel website and got lost in a web of links for hours and didn't find anything helpful.