ChibiOS/HAL  6.1.0
hal_qspi_lld.h File Reference

PLATFORM QSPI subsystem low level driver header. More...

Go to the source code of this file.

Data Structures

struct  QSPIConfig
 Driver configuration structure. More...
 
struct  QSPIDriver
 Structure representing an QSPI driver. More...
 

Macros

QSPI capabilities
#define QSPI_SUPPORTS_MEMMAP   TRUE
 
Configuration options
#define PLATFORM_QSPI_USE_QSPI1   FALSE
 QSPID1 driver enable switch. More...
 

Typedefs

typedef struct QSPIDriver QSPIDriver
 Type of a structure representing an QSPI driver. More...
 
typedef void(* qspicallback_t) (QSPIDriver *qspip)
 Type of a QSPI notification callback. More...
 

Functions

void qspi_lld_init (void)
 Low level QSPI driver initialization. More...
 
void qspi_lld_start (QSPIDriver *qspip)
 Configures and activates the QSPI peripheral. More...
 
void qspi_lld_stop (QSPIDriver *qspip)
 Deactivates the QSPI peripheral. More...
 
void qspi_lld_command (QSPIDriver *qspip, const qspi_command_t *cmdp)
 Sends a command without data phase. More...
 
void qspi_lld_send (QSPIDriver *qspip, const qspi_command_t *cmdp, size_t n, const uint8_t *txbuf)
 Sends a command with data over the QSPI bus. More...
 
void qspi_lld_receive (QSPIDriver *qspip, const qspi_command_t *cmdp, size_t n, uint8_t *rxbuf)
 Sends a command then receives data over the QSPI bus. More...
 
void qspi_lld_map_flash (QSPIDriver *qspip, const qspi_command_t *cmdp, uint8_t **addrp)
 Maps in memory space a QSPI flash device. More...
 
void qspi_lld_unmap_flash (QSPIDriver *qspip)
 Unmaps from memory space a QSPI flash device. More...
 

Detailed Description

PLATFORM QSPI subsystem low level driver header.

Definition in file hal_qspi_lld.h.