![]() |
Nano100BN Series BSP
V3.03.002
The Board Support Package for Nano100BN Series
|
NuEdu-Basic01 SPI Flash driver header file for NuEdu-SDK-Nano130. More...
Go to the source code of this file.
Functions | |
| void | Open_SPI_Flash (void) |
| Open GPIO port for SPI interface and configure this SPI controller as Master, MSB first, clock idle low, TX at falling-edge, RX at rising-edge, 32-bit length transaction, disable the automatic hardware slave select function and SPI serial clock rate = 2 MHz. More... | |
| unsigned int | SpiFlash_ReadMidDid (void) |
| Read back the Manufacturer ID and Device ID from SPI Flash device. More... | |
| void | SpiFlash_ChipErase (void) |
| This function do the chip erasing to SPI Flash device. More... | |
| unsigned int | SpiFlash_ReadStatusReg1 (void) |
| Read back the Status Register 1 from SPI Flash device. More... | |
| unsigned int | SpiFlash_ReadStatusReg2 (void) |
| Read back the Status Register 2 from SPI Flash device. More... | |
| void | SpiFlash_WaitReady (void) |
| Waiting for the BUSY bit of SPI Flash that be cleared to 0. More... | |
| void | SpiFlash_PageProgram (unsigned char *DataBuffer, unsigned int StartAddress, unsigned int ByteCount) |
| This function do the page programming to SPI Flash device. More... | |
| void | SpiFlash_ReadData (unsigned char *DataBuffer, unsigned int StartAddress, unsigned int ByteCount) |
| This function do the data reading from SPI Flash device. More... | |
NuEdu-Basic01 SPI Flash driver header file for NuEdu-SDK-Nano130.
Definition in file NuEdu-Basic01_SPI_Flash.h.
1.8.15