38 #ifndef __SPI_FLASH_H__    39 #define __SPI_FLASH_H__   192 #endif  //__SPI_FLASH_H__ This module contains common APIs declarations. 
 
signed char sint8
Range of values between -128 to 127. 
 
This module contains WINC3400 bus wrapper APIs declarations. 
 
sint8 spi_flash_read(uint8 *pu8Buf, uint32 u32Addr, uint32 u32Sz)
Read a specified portion of data from SPI Flash. . 
 
uint32 spi_flash_get_size(void)
Returns with uint32 value which is total flash size . 
 
sint8 spi_flash_erase(uint32 u32Offset, uint32 u32Sz)
Erase a specified portion of SPI Flash. . 
 
This module contains WINC3400 bus APIs implementation. 
 
unsigned long uint32
Range of values between 0 to 4294967295. 
 
sint8 spi_flash_write(uint8 *pu8Buf, uint32 u32Offset, uint32 u32Sz)
Write a specified portion of data to SPI Flash. . 
 
unsigned char uint8
Range of values between 0 to 255.