Minimizing power consumption when sensing switch inputs
A switch input is one of the simplest interfaces to an MCU. However, when very low power designs are needed the pullup or pulldown resistor for the switch can draw a significant current. If the switch input is a momentary switch the current flow is very short so it is rarely significant. However, if the switch input is a door switch or level sensing switch
or any other switch which may remain in the active state for a relatively long time the energy used must be considered
Most of the discussion that follows gives examples for pull-up devices with the switches, the same principles apply for pull-down components. Also all the discussions assume that the EVdd = Vdd (all ports powered from the same supply voltage).
For more detail: Minimizing power consumption when sensing switch inputs
From Schematic to PCB Production, Just Need One Tool
Free Circuit Design Software: learn to use Editor quickly and easily
Cheapest PCB: 10pcs 2-layers 10cm×10cm only $8.21, 3-day build time, 100% E-test