ChibiOS/HAL  7.0.3
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. More...
 
#define wspi_lld_config_fields
 Low level fields of the WSPI configuration structure. More...
 
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. More...
 

Functions

void wspi_lld_init (void)
 Low level WSPI driver initialization. More...
 
void wspi_lld_start (WSPIDriver *wspip)
 Configures and activates the WSPI peripheral. More...
 
void wspi_lld_stop (WSPIDriver *wspip)
 Deactivates the WSPI peripheral. More...
 
void wspi_lld_command (WSPIDriver *wspip, const wspi_command_t *cmdp)
 Sends a command without data phase. More...
 
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. More...
 
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. More...
 
void wspi_lld_map_flash (WSPIDriver *wspip, const wspi_command_t *cmdp, uint8_t **addrp)
 Maps in memory space a WSPI flash device. More...
 
void wspi_lld_unmap_flash (WSPIDriver *wspip)
 Unmaps from memory space a WSPI flash device. More...
 

Detailed Description

PLATFORM WSPI subsystem low level driver header.

Definition in file hal_wspi_lld.h.