25 #ifndef HAL_WSPI_LLD_H    26 #define HAL_WSPI_LLD_H    28 #if (HAL_USE_WSPI == TRUE) || defined(__DOXYGEN__)    38 #define WSPI_SUPPORTS_MEMMAP                TRUE    39 #define WSPI_DEFAULT_CFG_MASKS              TRUE    55 #if !defined(PLATFORM_WSPI_USE_WSPI1) || defined(__DOXYGEN__)    56 #define PLATFORM_WSPI_USE_WSPI1             FALSE    75 #define wspi_lld_driver_fields                                              \    82 #define wspi_lld_config_fields                                              \    90 #if (PLATFORM_WSPI_USE_WSPI1 == TRUE) && !defined(__DOXYGEN__)   102                      size_t n, 
const uint8_t *txbuf);
   104                         size_t n, uint8_t *rxbuf);
   105 #if WSPI_SUPPORTS_MEMMAP == TRUE void wspi_lld_unmap_flash(WSPIDriver *wspip)
Unmaps from memory space a WSPI flash device. 
 
void wspi_lld_start(WSPIDriver *wspip)
Configures and activates the WSPI peripheral. 
 
Structure representing an WSPI driver. 
 
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_init(void)
Low level WSPI driver initialization. 
 
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_stop(WSPIDriver *wspip)
Deactivates the WSPI peripheral. 
 
Type of a WSPI command descriptor. 
 
void wspi_lld_map_flash(WSPIDriver *wspip, const wspi_command_t *cmdp, uint8_t **addrp)
Maps in memory space a WSPI flash device. 
 
WSPIDriver WSPID1
WSPID1 driver identifier.