ChibiOS/HAL 9.0.0
hal_wspi_driver Struct Reference

Structure representing an WSPI driver. More...

#include <hal_wspi.h>

Collaboration diagram for hal_wspi_driver:
Collaboration graph

Data Fields

wspistate_t state
 Driver state.
const WSPIConfigconfig
 Current configuration data.
thread_reference_t thread
 Waiting thread.
mutex_t mutex
 Mutex protecting the peripheral.

Detailed Description

Structure representing an WSPI driver.

Definition at line 155 of file hal_wspi.h.

Field Documentation

◆ state

◆ config

const WSPIConfig* hal_wspi_driver::config

Current configuration data.

Definition at line 163 of file hal_wspi.h.

Referenced by wspiCommand(), wspiObjectInit(), wspiReceive(), wspiSend(), wspiStart(), and wspiStop().

◆ thread

thread_reference_t hal_wspi_driver::thread

Waiting thread.

Definition at line 168 of file hal_wspi.h.

Referenced by wspiCommand(), wspiObjectInit(), wspiReceive(), and wspiSend().

◆ mutex

mutex_t hal_wspi_driver::mutex

Mutex protecting the peripheral.

Definition at line 174 of file hal_wspi.h.

Referenced by wspiAcquireBus(), wspiObjectInit(), and wspiReleaseBus().