mirror of
https://gitee.com/Polarix/simplegui.git
synced 2025-06-17 05:27: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
42 lines
824 B
C
42 lines
824 B
C
#ifndef _INCLUDE_TRIGGER_FLAGS_H_
|
|
#define _INCLUDE_TRIGGER_FLAGS_H_
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
#include <stdbool.h>
|
|
#include "usart.h"
|
|
#include "keyboard.h"
|
|
#include "rtc.h"
|
|
|
|
typedef union
|
|
{
|
|
uint8_t uiByte[2];
|
|
uint16_t uiKeyCode;
|
|
}KEY_VALUE;
|
|
|
|
typedef struct
|
|
{
|
|
KEY_VALUE unKeyValue;
|
|
__IO bool bIsTriggered;
|
|
__IO bool bHalfRev;
|
|
}USART_INPUT;
|
|
|
|
|
|
void USARTReceiveProc(USART_INT_REASON eReason, uint8_t uiReceiveData);
|
|
bool UsartIsReceived(void);
|
|
uint16_t GetReceivedCode(void);
|
|
void UsartTriggerReset(void);
|
|
|
|
void TimerInterruptProc(void);
|
|
bool BaseTimerIsTrigger(void);
|
|
void BaseTimerTriggerReset(void);
|
|
|
|
void RTCInterruptProc(uint32_t uiTimeStamp);
|
|
bool RTCTimerIsTrigger(void);
|
|
void RTCTimerTriggerReset(void);
|
|
|
|
void KeyEventProc(uint16_t uiKeyCode, KEY_EVENT eEvent);
|
|
|
|
#endif
|
|
|