ChibiOS/HAL 9.0.0
hal_wspi_lld.h File Reference

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

Go to the source code of this file.

Macros

#define wspi_lld_driver_fields
 Low level fields of the WSPI driver structure.
#define wspi_lld_config_fields
 Low level fields of the WSPI configuration structure.
WSPI implementation capabilities
#define WSPI_SUPPORTS_MEMMAP   TRUE
#define WSPI_DEFAULT_CFG_MASKS   TRUE
Configuration options
#define PLATFORM_WSPI_USE_WSPI1   FALSE
 WSPID1 driver enable switch.

Functions

void wspi_lld_init (void)
 Low level WSPI driver initialization.
void wspi_lld_start (WSPIDriver *wspip)
 Configures and activates the WSPI peripheral.
void wspi_lld_stop (WSPIDriver *wspip)
 Deactivates the WSPI peripheral.
void wspi_lld_command (WSPIDriver *wspip, const wspi_command_t *cmdp)
 Sends a command without data phase.
void wspi_lld_send (WSPIDriver *wspip, const wspi_command_t *cmdp, size_t n, const uint8_t *txbuf)
 Sends a command with data over the WSPI bus.
void wspi_lld_receive (WSPIDriver *wspip, const wspi_command_t *cmdp, size_t n, uint8_t *rxbuf)
 Sends a command then receives data over the WSPI bus.
void wspi_lld_map_flash (WSPIDriver *wspip, const wspi_command_t *cmdp, uint8_t **addrp)
 Maps in memory space a WSPI flash device.
void wspi_lld_unmap_flash (WSPIDriver *wspip)
 Unmaps from memory space a WSPI flash device.

Detailed Description

PLATFORM WSPI subsystem low level driver header.

Definition in file hal_wspi_lld.h.