Found 4 other functions taking a
timer_hal_context_t
argument:
Load counter value into time-base counter
Trigger a software capture event and then return the captured count value
Init the timer hal. This function should be called first before other hal layer function is called
Deinit timer hal context.