From 9aed5d7e7b3c7bf09da712e9c272ece401a7acc9 Mon Sep 17 00:00:00 2001
From: QuakeGod <QuakeGod@sina.com>
Date: 星期一, 25 十一月 2024 14:51:23 +0800
Subject: [PATCH] add UltraSonic and MultiWireLess

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

diff --git a/ComLib/Inc/functions.h b/ComLib/Inc/functions.h
index 14efe32..be64e43 100644
--- a/ComLib/Inc/functions.h
+++ b/ComLib/Inc/functions.h
@@ -62,7 +62,8 @@
 void TriggerPendSV(void);
 void PendSvCallBack(void);
 void SPI1_IRQ_CallBack(void);
-
+void DelayUs(int nUs);
+void Delay100nS(int n100nS);
 void Uart1SendDone(void);
 void Uart1RecvDone(void);
 void Uart2SendDone(void);
@@ -95,4 +96,11 @@
 void displayInput(unsigned int cc);
 void PutOutputSPI1(unsigned int Y);
 
+uint16_t SPI_Flash_ReadID(void);
+uint8_t SPI1_Flash_ReadSR(void)   ;
+void W25QXX_Read(uint8_t* pBuffer,uint32_t ReadAddr,uint16_t NumByteToRead);
+void SPI_FLASH_Write_Enable(void)   ;
+void W25QXX_Erase_Sector(uint32_t Dst_Addr)   ;
+void W25QXX_Write_Page(uint8_t* pBuffer,uint32_t WriteAddr,uint16_t NumByteToWrite);
+
 #endif  /* __MYFUNCTIONS_H__ */

--
Gitblit v1.9.1