Hall Sensor on analog pin

Any signal that works with a digital input pin (0V, 5V) will work with an analog input. The analogRead() function will return a value near 0 for logic LOW signals and a value near 1023 for logic HIGH signals. Compare the returned value with 512 (mid range) to get a logic value.

Most (but not all) analog input pins can also be used for digital inputs and outputs. I don't know if the core you are using supports this or not.