analogRead() setting AN_INPUT?

Hi,
what is this AN_INPUT type referenced in the docs?

docs:

I cannot find it in the pinMode() docs anymore:

I imagine it is a deprecated value, but wanted to confirm.
Thanks!

When you call analogRead() is changes the pin mode to be an analog input automatically, so you don't need to set it. It happens to set it to AN_INPUT but since there is no need to call pinMode() with that parameter, it's not listed.

2 Likes