w25qxx-STM32Hall
所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:18KB
下载次数:1
上传日期:2020-10-01 21:57:52
上 传 者:
kipkip
说明: W25Qxx - NOR Flash Libary for STM32 HALL
文件列表:
LICENSE (35149, 2020-04-11)
w25qxx.c (34905, 2020-04-11)
w25qxx.h (4101, 2020-04-11)
w25qxxConf.h (333, 2020-04-11)
## W25QXX SPI FLASH Library for STM32
1. Enable SPI and a Gpio as output(CS pin).Connect WP and HOLD to VCC.
2. Select `General peripheral Initalizion as a pair of '.c/.h' file per peripheral` on project settings.
3. Config `w25qxxConf.h`.
4. Call `W25qxx_Init()`.
5. After init, you can watch `w25qxx` struct.(Chip ID,page size,sector size and ...)
6. In Read/Write Function, you can put 0 to `NumByteToRead/NumByteToWrite` parameter to maximum.
7. Dont forget to erase page/sector/block before write.
近期下载者:
相关文件:
收藏者: