I want to count the number of pulses by using counter in a fix reference period. The pulses are generated by switching ON-OFF the supply itself. So, how to keep the initialisation constant for reference period of Timer to count pulses in the same period with supply switching. Is it possible to store the pulse count in memory before switching off supply and again call back after turning on the supply ? if yes how to store the number of pulses?
Thanks & Regards.