The Li-ion charger I'm using (MCP73831/2) has a tri-state status output. The datasheet says that the STAT pin outputs High-Z when inactive or complete, and Low while charging is active.
Whats the best way to hook this up to a nRF51822 GPIO?
Can I directly wire the stat output to a GPIO input, and then use an internal pull-up on the GPIO pin?
The nRF51822 is not 5V tolerant, but I don't think it will be damaged with a high-impedance output. Is this correct?
Relevant datasheets:
STAT output description (page 15, Table 5-1), reproduced here: