Lines Matching full:top
57 * @brief Flag preventing counter reset when top value is changed.
59 * If flags is set then counter is free running while top value is updated,
65 * @brief Flag instructing counter to reset itself if changing top value
66 * results in counter going out of new top value bound.
138 * values can be any value between zero and the current top value (see
168 /** @brief Top value configuration structure.
172 * Top value.
193 * Maximal (default) top value on which counter is reset (cleared or reloaded).
339 * @brief Function to retrieve maximum top value that can be set.
343 * @return Max top value.
501 * @brief Set counter top value.
503 * Function sets top value and optionally resets the counter to 0 or top value
505 * optional callback is periodically called. Top value can only be changed when
509 * running while top value is updated, it is possible that counter progresses
510 * outside the new top value. In that case, error is returned and optionally
517 * @retval -ENOTSUP if request is not supported (e.g. top value cannot be
518 * changed or counter cannot/must be reset during top value
521 * @retval -ETIME if @ref COUNTER_TOP_CFG_DONT_RESET was set and new top value
565 * @brief Function to retrieve current top value.
569 * @return Top value.
614 * - counting upwards, now = 4950, top value = 5000, guard period = 100:
616 * - counting downwards, now = 50, top value = 5000, guard period = 100:
620 * (e.g. half of the counter top value) which will make it highly unlikely that