---
Please get note that :
When the TS input pin is driven to an intermediate level between the power supply
and ground, either on the falling edge from VDD or on the rising edge from ground,
then the following sequence occurs:
- The actual date and time are stored in the timestamp registers.
- The timestamp flag TSF1 (register Control_1) is set.
- If the TSIE bit (register Control_2) is active, an interrupt on the INT pin is
generated.
The TSF1 flag can be cleared by command. Clearing the flag clears the interrupt.
Once TSF1 is cleared, it will only be set again when a new negative or positive edge
on pin TS is detected.
---
For the schematic update when using switches or push-buttons, it is recommended to connect a 1 nF capacitance to the TS
pin to ensure proper switching.