timer_stop

Stop timer.

int32_t timer_stop(
    struct timer_descriptor *const descr
)

This function stops the given timer. It checks if the given hardware is initialized.

Parameters

descr

Type: struct timer_descriptor Struct *const

The timer descriptor of a timer to stop

Returns

Type: int32_t

Timer stopping status.