LPCOpen SPIFI FLASH Library (LPCSPIFILIB)
Documentation for the LPCSPIFILIB library
List of all members | Public Attributes

Detailed Description

Common data applicable to all devices.

#include <spifilib_dev.h>

Public Attributes

uint32_t spifiCtrlAddr
 
uint32_t baseAddr
 
uint32_t numBlocks
 
uint32_t blockSize
 
uint32_t numSubBlocks
 
uint32_t subBlockSize
 
uint32_t pageSize
 
uint32_t maxReadSize
 
const struct SPIFI_DEVICE_DATApDeviceData
 
uint32_t opts
 
const char * pDevName
 
SPIFI_ERR_T lastErr
 
const SPIFI_DEVICE_ID_TpId
 

Member Data Documentation

uint32_t SPIFI_INFODATA::baseAddr

Physical base address for the device

uint32_t SPIFI_INFODATA::blockSize

Size of blocks on the device

SPIFI_ERR_T SPIFI_INFODATA::lastErr

Last error for the driver

uint32_t SPIFI_INFODATA::maxReadSize

Maximum read size in bytes for a single read operation

uint32_t SPIFI_INFODATA::numBlocks

Number of blocks on the device

uint32_t SPIFI_INFODATA::numSubBlocks

Number of sub-blocks on the device

uint32_t SPIFI_INFODATA::opts

Device options of values SPIFI_OPT_*

uint32_t SPIFI_INFODATA::pageSize

Size of a page, usually denotes maximum write size in bytes for a single write operation

const struct SPIFI_DEVICE_DATA* SPIFI_INFODATA::pDeviceData

(required) Pointer to device specific data

const char* SPIFI_INFODATA::pDevName

(required) Pointer to device name

const SPIFI_DEVICE_ID_T* SPIFI_INFODATA::pId

(required) Device id structure (JEDEC ID etc)

uint32_t SPIFI_INFODATA::spifiCtrlAddr

SPIFI controller base address

uint32_t SPIFI_INFODATA::subBlockSize

Size of sub-blocks on the device


The documentation for this struct was generated from the following file: