237a238,249
> /**
> * Saturate the counter.
> *
> * @return The value added to the counter to reach saturation.
> */
> uint8_t saturate()
> {
> const uint8_t diff = maxVal - counter;
> counter = maxVal;
> return diff;
> }
>