Microchip® Advanced Software Framework

m2m_flash.h File Reference

WINC3400 Flash Interface.

Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.

Enumerations

enum  tenuWincFlashRegion {
  WINC_FLASH_REGION_RAW,
  WINC_FLASH_REGION_FIRMWARE_ACTIVE,
  WINC_FLASH_REGION_FIRMWARE_INACTIVE,
  WINC_FLASH_REGION_PLL_TABLE,
  WINC_FLASH_REGION_GAIN_TABLE,
  WINC_FLASH_REGION_PLL_AND_GAIN_TABLES,
  WINC_FLASH_REGION_ROOT_CERTS,
  WINC_FLASH_REGION_LOCAL_CERTS,
  WINC_FLASH_REGION_CONN_PARAM,
  WINC_FLASH_REGION_HTTP_FILES,
  WINC_FLASH_NUM_REGIONS
}
 The regions of WINC flash available for accessing. More...
 

Functions

sint8 m2m_flash_erase_sector (tenuWincFlashRegion enuRegion, uint8 u8StartSector, uint8 u8NumSectors)
 Erase one or more sectors within a WINC flash region. More...
 
sint8 m2m_flash_read (tenuWincFlashRegion enuRegion, void *pvBuffer, uint32 u32Offset, uint32 u32Size)
 Read the number of bytes specified from a WINC flash location. More...
 
sint8 m2m_flash_switch_firmware (void)
 Switch the active and inactive firmware images. More...
 
sint8 m2m_flash_write (tenuWincFlashRegion enuRegion, void *pvBuffer, uint32 u32Offset, uint32 u32Size)
 Write the number of bytes specified to a WINC flash location. More...