Wirepas SDK
external_flash_cfi.h File Reference

Go to the source code of this file.

Functions

const struct ext_flash_id_t * ext_flash_get_id (void)
 Get external flash memory ID.
 
const flash_info_t * ext_flash_get_info (void)
 Get external flash memory information.
 

Data Structures

struct  ext_flash_id_t
 Flash device identification. More...
 

Enumerations

enum  flash_ids_e { UNKNOWN , MX25R1635F }
 Supported flash devices. More...
 

Function Documentation

◆ ext_flash_get_id()

const struct ext_flash_id_t * ext_flash_get_id ( void  )

Get external flash memory ID.

Returns
Pointer to flash memory ID

◆ ext_flash_get_info()

const flash_info_t * ext_flash_get_info ( void  )

Get external flash memory information.

Returns
Pointer to flash memory information

Data Structure Documentation

◆ ext_flash_id_t

struct ext_flash_id_t

Flash device identification.

Definition at line 31 of file external_flash_cfi.h.

Data Fields
enum flash_ids_e flash_id

Flash ID

uint8_t man_id

Manufacturer ID

uint8_t mem_capacity

Memory capacity

uint8_t mem_type

Memory type

Enumeration Type Documentation

◆ flash_ids_e

Supported flash devices.

Enumerator
UNKNOWN 

Unknown flash memory

MX25R1635F 

Macronix MX25R1635F

Definition at line 18 of file external_flash_cfi.h.

19{
21 UNKNOWN,
22
25};
@ UNKNOWN
@ MX25R1635F