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 | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ComLib/Inc/functions.h b/ComLib/Inc/functions.h index aaf82bc..be64e43 100644 --- a/ComLib/Inc/functions.h +++ b/ComLib/Inc/functions.h @@ -97,5 +97,10 @@ 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