Datasheets usually specific pin leakage current for digital inputs in the Electrical Characteristics, which is generally in microamperes (µA) range. I understood from different SE posts that the specified current is usually much higher than the actual leakage current. I also understand that the leakage current direction depends on the voltage applied.
Here are a couple different examples mentioning leakage current limits in different ways.
Img Src: Micron DDR5 SDRAM Datasheet
Img Src: TI TPS51200-EP Datasheet
My general question is: Which of the following is true for the "input leakage current" specification of a digital input pin in the datasheet?
- Is it the maximum leakage current the pin will draw when a voltage is applied to it?
- Is it the maximum leakage current that must be allowed for an applied voltage?
The reason I ask this is because if were to pull up a pin with a resistor to a voltage, there would be a voltage drop across the resistor due to the leakage current that flows through the resistor. So, for example, an EN input has 10 µA maximum leakage current and I connect it to 1.8 V via a 100 kΩ pullup resistor, that would cause a drop of 1 V across the resistor in the worst case and the EN pin would not detect it as HIGH since it would see only 0.8 V whereas the VIH could be, for example, 1.2 V minimum.
So, if #2 would be true, we would need to connect a resistor of 1.8 V/10 µA = 180 kΩ, which would then violate the VIH specification in case a leakage current close to 10 µA flows into the pin. And conversely if I connect a lower value resistor such that VIH is met, which makes sense, it would mean a higher leakage current could flow.
Am I misunderstanding anything here? Could someone please clarify this for me?
EDIT: Summary of what I wanted to clarify and have understood based on the answers/comments. Hope it is correct: Basically, the leakage current is not something that can be or needs to be limited externally and only the maximum specified leakage current will flow for an applied voltage virtually irrespective of the external pull-up/down resistor value. Any external pull-up/down resistors should be sized such that VIH/VIL is not violated for the maximum leakage current that can flow through those resistors.