main_ubi_sdk v 0.1.3
This is UBI4 documentation
us_tick_timer.h
Go to the documentation of this file.
1/*
2 * us_tick_timer.h
3 *
4 * Created on: Sep 19, 2023
5 * Author: PC
6 */
7
8#ifndef INC_US_TICK_TIMER_H_
9#define INC_US_TICK_TIMER_H_
10
11#include "UBI_SDK.h"
12#ifdef UBI_SDK_FAMILY_STM32
13
14#include "stdint.h"
15#include "HAL_DRIVERS.h"
16
17void init_us_tick_timer(TIM_HandleTypeDef* tim);
18
19void us_tick_exec();
20
21uint32_t get_us_tick();
22
23void us_tick_start_timer();
24
25void us_tick_stop_timer();
26
27uint8_t us_tick_timer_is_enable();
28
29#endif
30#endif /* INC_US_TICK_TIMER_H_ */