Digital devices can monitor the state of the pulse and can transition the pulse from one state to another. A counter can also monitor the state as well as detect rising edges, a transition from logic low to logic high, and falling edges, a transition from logic high to logic low. Counters are used commonly to count edges and for time measurements, such as measuring digital frequency or the period of a signal.