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
17
void
init_us_tick_timer(TIM_HandleTypeDef* tim);
18
19
void
us_tick_exec();
20
21
uint32_t get_us_tick();
22
23
void
us_tick_start_timer();
24
25
void
us_tick_stop_timer();
26
27
uint8_t us_tick_timer_is_enable();
28
29
#endif
30
#endif
/* INC_US_TICK_TIMER_H_ */
HAL_DRIVERS.h
utils
us_tick_timer.h
Generated by
1.13.2