spi_flash.h
Go to the documentation of this file.
1 
38 #ifndef __SPI_FLASH_H__
39 #define __SPI_FLASH_H__
42 #include "driver/source/nmbus.h"
43 #include "spi_flash_map.h"
44 
57 
78 sint8 spi_flash_read(uint8 *pu8Buf, uint32 u32Addr, uint32 u32Sz);
79 
104 sint8 spi_flash_write(uint8* pu8Buf, uint32 u32Offset, uint32 u32Sz);
105 
185 sint8 spi_flash_erase(uint32 u32Offset, uint32 u32Sz);
186 
187 
192 #endif //__SPI_FLASH_H__
This module contains common APIs declarations.
signed char sint8
Range of values between -128 to 127.
Definition: nm_bsp.h:111
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. .
Definition: spi_flash.c:505
uint32 spi_flash_get_size(void)
Returns with uint32 value which is total flash size .
Definition: spi_flash.c:654
sint8 spi_flash_erase(uint32 u32Offset, uint32 u32Sz)
Erase a specified portion of SPI Flash. .
Definition: spi_flash.c:616
SPI Flash.
This module contains WINC3400 bus APIs implementation.
unsigned long uint32
Range of values between 0 to 4294967295.
Definition: nm_bsp.h:103
sint8 spi_flash_write(uint8 *pu8Buf, uint32 u32Offset, uint32 u32Sz)
Write a specified portion of data to SPI Flash. .
Definition: spi_flash.c:539
unsigned char uint8
Range of values between 0 to 255.
Definition: nm_bsp.h:89


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:05