From 8ff84ae4bba9b267abe8a1984817ae8745d548e1 Mon Sep 17 00:00:00 2001
From: QuakeGod <QuakeGod@sina.com>
Date: 星期一, 30 一月 2023 01:29:47 +0800
Subject: [PATCH] radio clean up files

---
 Inc/functions.h |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/Inc/functions.h b/Inc/functions.h
index cc5c54a..c03fa01 100644
--- a/Inc/functions.h
+++ b/Inc/functions.h
@@ -21,7 +21,7 @@
 extern volatile unsigned int CurTickuS;	
 //extern volatile unsigned int ThisRunTime;	
 //extern volatile unsigned int TotalRunTime;
-//extern volatile unsigned int PwrCount;				//开机次数
+//extern volatile unsigned int PwrCount;				//寮�鏈烘鏁�
 
 typedef unsigned char uint8_t;
 typedef unsigned char uchar;
@@ -43,15 +43,18 @@
 int Uart3RecvDMA(void * pBuf, int nSize);
 int Uart3TriggerRecvDMA(void );
 int Uart3TriggerSendDMA(void );
+void TriggerPendSV(void);
+void PendSvCallBack(void);
+void SPI1_IRQ_CallBack(void);
+
 void Uart1SendDone(void);
 void Uart1RecvDone(void);
 void Uart2SendDone(void);
 void Uart2RecvDone(void);
 int PutStr(char * str1, int len1);
-void clearscreen(void );
-void Locate(int x,int y);
-int SendPacket1(void * pBuf,int len1);
-int SendPacket2(pPacket p1,int len1);
+int SendPacket(int nChn, void * pBuf,int len1);
+//int SendPacket1(void * pBuf,int len1);
+//int SendPacket2(pPacket p1,int len1);
 void ToggleRunLed(void );
 void ToggleErrLed(void );
 void ToggleOutStat(void );
@@ -66,9 +69,10 @@
 unsigned short crc_check(const unsigned char * data, unsigned int  length);
 unsigned short crc16bitbybit(const unsigned char *ptr, unsigned int len);
 uint16_t crc16table(const uint8_t *ptr, uint16_t len);
-uint16_t crc16tablefast(const uint8_t *ptr, uint16_t len) ;
+//uint16_t crc16tablefast(const uint8_t *ptr, uint16_t len) ;
 
 void EnableDisIn(uchar bEnable);
 void displayInput(unsigned int cc);
+void PutOutputSPI1(unsigned int Y);
 
 #endif  /* __MYFUNCTIONS_H__ */

--
Gitblit v1.9.1