LPCOpen Platform for LPC18XX/43XX microcontrollers: SPIFI_FAM_DESC_T Struct Reference

| LPCOpen Platform for LPC18XX/43XX microcontrollers 18XX43XX LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
SPIFI_FAM_DESC_T Struct Reference
LPCSPIFILIB device driver API functions

## Detailed Description

LPCSPIFILIB family descriptor, used to describe devices to non-device specific functions.

Definition at line 214 of file spifilib_dev.h.

`#include "spifilib_dev.h"`

## Data Fields
const char * | pFamName
struct SPIFI_DEV_NODE * | pDevList
uint32_t | prvContextSize
uint32_t * | pDevCount
void(* | pPrvDevGetID )(uint32_t baseAddr, struct SPIFI_DEVICE_ID *pID)
SPIFI_ERR_T(* | pPrvDevSetup )(struct SPIFI_HANDLE *pHandle, uint32_t spifiCtrlAddr, uint32_t baseAddr)

## Field Documentation

uint32_t* pDevCount

(required) Pointer to device count

Definition at line 219 of file spifilib_dev.h.

struct SPIFI_DEV_NODE* pDevList

(required) Pointer to device list

Definition at line 216 of file spifilib_dev.h.

const char* pFamName

(required) Pointer to generic family name

Definition at line 215 of file spifilib_dev.h.

void(* pPrvDevGetID)(uint32_t baseAddr, struct SPIFI_DEVICE_ID *pID)

(NULL allowed) Pointer to method that queries deviceID

Definition at line 220 of file spifilib_dev.h.

SPIFI_ERR_T(* pPrvDevSetup)(struct SPIFI_HANDLE *pHandle, uint32_t spifiCtrlAddr, uint32_t baseAddr)

(required) Pointer to device specific device initialization

Definition at line 222 of file spifilib_dev.h.

uint32_t prvContextSize

Number of bytes needed for driver context allocation

Definition at line 218 of file spifilib_dev.h.

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

- C:/w/lpcopen_docs/software/lpcspifilib/inc/spifilib_dev.h