22.4.2.4.1 Stop Command and Event Action
A Stop command can be issued from software by setting the Command bit field in the Control B Set register (CTRLBSET.CMD = 0x2, STOP). When a Stop is detected while the counter is running, the counter will be loaded with the starting value (ZERO or TOP, depending on direction set by CTRLBSET.DIR or CTRLBCLR.DIR). All waveforms are cleared, and the Stop bit in the Status register (STATUS.STOP) is set.
