Functions | |
hal_status_t | hal_pwr_get_timer_current_value (uint32_t timer_type, uint32_t *p_value) |
Get the current value of specified timer. More... | |
hal_status_t hal_pwr_get_timer_current_value | ( | uint32_t | timer_type, |
uint32_t * | p_value | ||
) |
Get the current value of specified timer.
[in] | timer_type | This parameter can be one of the following values: |
[out] | p_value | Pointer to an integer storing current value |
HAL_OK | Operation is OK. |
HAL_ERROR | Parameter error or operation not supported. |
HAL_BUSY | Driver is busy. |
HAL_TIMEOUT | Timeout occurred. |