Autodrone
Multi-Domain Vehicle
drv_tim.h
Go to the documentation of this file.
1
9#ifndef __DRV_TIM_H__
10#define __DRV_TIM_H__
11
12/* Function Prototypes */
13void tim9Init(void);
14uint32_t tim9GetCnt(void);
15void tim9ResetCnt(void);
16void tim9Enable(void);
17void tim9Disable(void);
18
19#endif /* __DRV_TIM_H__ */
20
21/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
uint32_t tim9GetCnt(void)
Gets the counter value.
Definition: drv_tim.c:32
void tim9Disable(void)
Disables the timer.
Definition: drv_tim.c:62
void tim9Init(void)
Initializes the low level registers to set up timer 9.
Definition: drv_tim.c:17
void tim9Enable(void)
Enables the timer.
Definition: drv_tim.c:52
void tim9ResetCnt(void)
Resets the counter.
Definition: drv_tim.c:42