timer_deinit

Deinitialize timer.

int32_t timer_deinit(
    struct timer_descriptor *const descr
)

This function deinitializes the given timer. It checks if the given hardware is initialized and if the given hardware is permitted to be deinitialized.

Parameters

descr

Type: struct timer_descriptor Struct *const

A timer descriptor to deinitialize

Returns

Type: int32_t

De-initialization status.