NOTES:
A. PWRIE set to 1 to enable power fail interrupt.
B. RST and INT are open drain and reguire and external oullup resistor