Counter

Configuration of the four possible counters on the PORTB, 4-5-6-7 and for the family 12 the PORT GPIO, 0-1-3

Commands: Count
The registers of the counters are planned by compiler with the names COUNT0 COUNT1 COUNT2 COUNT3

Counter setup:

1. Enable/Disable of the counter
2. Configuration of the register COUNTx 8/16/24 bit
3. Formality of calculation on the front of slope or descent