Skip to content

Struct daisy::QSPIHandle::Config

ClassList > daisy > QSPIHandle > Config

More...

  • #include <qspi.h>

Public Types

Type Name
enum Device
enum Mode

Public Attributes

Type Name
Pin clk
Device device
Pin io0
Pin io1
Pin io2
Pin io3
Mode mode
Pin ncs
struct daisy::QSPIHandle::Config pin_config

Detailed Description

Configuration structure for interfacing with QSPI Driver

Public Types Documentation

enum Device

enum daisy::QSPIHandle::Config::Device {
    IS25LP080D,
    IS25LP064A,
    DEVICE_LAST
};

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


enum Mode

enum daisy::QSPIHandle::Config::Mode {
    MEMORY_MAPPED,
    INDIRECT_POLLING,
    MODE_LAST
};

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.


Public Attributes Documentation

variable clk

Pin daisy::QSPIHandle::Config::clk;

&


variable device

Device daisy::QSPIHandle::Config::device;

variable io0

Pin daisy::QSPIHandle::Config::io0;

&


variable io1

Pin daisy::QSPIHandle::Config::io1;

&


variable io2

Pin daisy::QSPIHandle::Config::io2;

&


variable io3

Pin daisy::QSPIHandle::Config::io3;

&


variable mode

Mode daisy::QSPIHandle::Config::mode;

variable ncs

Pin daisy::QSPIHandle::Config::ncs;

&


variable pin_config

struct daisy::QSPIHandle::Config daisy::QSPIHandle::Config::pin_config;


The documentation for this class was generated from the following file external-docs/libDaisy/src/per/qspi.h