down counte code example Example: down counte the count decreases by one for each external clock pulse from some preset value.