libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::QSPIHandle::Config Struct Reference

Detailed Description

Configuration structure for interfacing with QSPI Driver

#include <qspi.h>

Public Types

enum  Device { IS25LP080D , IS25LP064A , DEVICE_LAST }
 
enum  Mode { MEMORY_MAPPED , INDIRECT_POLLING , MODE_LAST }
 

Public Attributes

struct { 
 
   Pin   io0 
 
   Pin   io1 
 
   Pin   io2 
 
   Pin   io3 
 
   Pin   clk 
 
   Pin   ncs 
 
pin_config 
 
Device device
 
Mode mode
 

Member Enumeration Documentation

◆ Device

Flash Devices supported. (Both of these are more-or-less the same, just different sizes).

Enumerator
IS25LP080D 

&

IS25LP064A 

&

DEVICE_LAST 

&

◆ Mode

Modes of operation. Memory Mapped mode: QSPI configured so that the QSPI can be read from starting address 0x90000000. Writing is not possible in this mode.
Indirect Polling mode: Device driver enabled.

Enumerator
MEMORY_MAPPED 

&

INDIRECT_POLLING 

&

MODE_LAST 

Member Data Documentation

◆ clk

Pin daisy::QSPIHandle::Config::clk

&

◆ device

Device daisy::QSPIHandle::Config::device

◆ io0

Pin daisy::QSPIHandle::Config::io0

&

◆ io1

Pin daisy::QSPIHandle::Config::io1

&

◆ io2

Pin daisy::QSPIHandle::Config::io2

&

◆ io3

Pin daisy::QSPIHandle::Config::io3

&

◆ mode

Mode daisy::QSPIHandle::Config::mode

◆ ncs

Pin daisy::QSPIHandle::Config::ncs

&

◆ [struct]

struct { ... } daisy::QSPIHandle::Config::pin_config

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