I am not that familiar with electronics, it's just a hobby.
I am reviewing the TP4056 and DW01A ICs that are used for battery charging.
Actually there is nothing special about these ICs but I was wondering how the red marked area works.
I know the two DW01A pins prevent overcharging and discharging, but how does it work? I searched for an explanation but nothing found.