Tool/software:
Hi, I have a design that has a push button wired into the TS/MR line. I can detect interrupts, and read the registers, when the push button is pressed, or the charger is plugged into a power socket. I have a requirement to detect press and hold behaviour of the push button for 10seconds on the TS/MR line.
The datasheet suggests you may read the open state of TS/MR on STA0 TS_OPEN_STAT, but polling this shows it to always be 0 whether the button is pressed and held or not. I wondered if I could read any bit related shipping mode with shipping mode disabled to detect a press and hold event.
Basic question is there any way to detect a press and hold event in this chip by polling I2c registers?