mirror of
https://gitee.com/Polarix/simplegui.git
synced 2025-06-17 21:47:52 +00:00

将tab键替换为空格 删除每行末尾无用的空格 # Conflicts: # DemoProc/src/DemoProc.c # GUI/inc/SGUI_Basic.h # GUI/inc/SGUI_Typedef.h # GUI/src/SGUI_Basic.c # GUI/src/SGUI_Curve.c # GUI/src/SGUI_Text.c
20 lines
620 B
C
20 lines
620 B
C
#ifndef __INCLUDE_TIMER_H__
|
|
#define __INCLUDE_TIMER_H__
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
#include "stm32f10x_tim.h"
|
|
|
|
#define TIMER_REV_INT_CFG_DECLARE(TIMER) void TIMER##_ConfigReceiveInterrupt(TIMER_INT_FP pfCallBack, int iPreemptionPriority, int SubPriority)
|
|
|
|
typedef void(*TIMER_INT_FP)(void);
|
|
|
|
void BASE_TIMER_Initialize(TIM_TypeDef* pstTimerBase, uint16_t uiReloadValue, uint16_t uiPrescaler);
|
|
void BASE_TIMER_ActiveInterrupt(TIM_TypeDef* pstTimerBase, bool bEnable);
|
|
|
|
TIMER_REV_INT_CFG_DECLARE(TIM3);
|
|
TIMER_REV_INT_CFG_DECLARE(TIM4);
|
|
|
|
#endif /* __INCLUDE_TIMER_H__ */
|