From 6126f6a78b14297cefb02f06ba58806767d424b5 Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期三, 01 二月 2023 12:05:29 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/FP0' into kNet --- Inc/functions.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Inc/functions.h b/Inc/functions.h index c03fa01..6ce84e7 100644 --- a/Inc/functions.h +++ b/Inc/functions.h @@ -31,7 +31,7 @@ int InituS(int TickFreq1); unsigned int GetuS(void); - +void logData(unsigned char d); int InitUartstat(stUartStat * pUartstat,void * pBufRx, int nSizeRx, void * pBufTx, int nSizeTx); int Uart1SendDMA(void * pData, int nSize); int Uart1TriggerSendDMA(void ); @@ -54,13 +54,15 @@ int PutStr(char * str1, int len1); int SendPacket(int nChn, void * pBuf,int len1); //int SendPacket1(void * pBuf,int len1); -//int SendPacket2(pPacket p1,int len1); +//int SendPacket2(pKBPacket p1,int len1); void ToggleRunLed(void ); void ToggleErrLed(void ); +void ToggleErr2Led(void ); void ToggleOutStat(void ); int ReadJumperSW(void ); void SetRunLed(uchar bOn); void SetErrLed(uchar bOn); +void SetErr2Led(uchar bOn); void SetOutStat(uchar bOn); void Enable595(uchar bEnable); unsigned int GetInput(void ); -- Gitblit v1.9.1