12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- /*******************************************************
- * File name锛� timer4.h
- * Author : pd
- * Versions : 1.0
- * Description: timer4 set
- * History:
- * 1.Date: 2015-7-2
- * Author: pd
- * Action: create
- *********************************************************/
- #ifndef _TIMER3_H_
- #define _TIMER3_H_
- #include <stdint.h>
- #include "sys.h"
- #include "stm32f1xx_hal.h"
- typedef u8 (*time3_callback)(void *arg);
- /******************************************************************************
- * FunctionName : timer4_init
- * Description : init timer4.
- * Parameters : time_set: the set time, uint is ms.
- * Returns :
- ******************************************************************************/
- void timer3_init(u16 time_set, u8 repeat_flag, time3_callback time3_cb);
- /******************************************************************************
- * FunctionName : timer1_start
- * Description : start timer1.
- * Parameters :
- * Returns :
- ******************************************************************************/
- void timer3_start(void);
- /******************************************************************************
- * FunctionName : timer1_stop
- * Description : stop timer1.
- * Parameters :
- * Returns :
- ******************************************************************************/
- void timer3_stop(void);
- #endif /* _PANDO_TIMER_H_ */
|