|
ChibiOS
19.1.4
|
WSPI Driver code. More...
#include "hal.h"Go to the source code of this file.
Functions | |
| void | wspiInit (void) |
| WSPI Driver initialization. More... | |
| void | wspiObjectInit (WSPIDriver *wspip) |
Initializes the standard part of a WSPIDriver structure. More... | |
| void | wspiStart (WSPIDriver *wspip, const WSPIConfig *config) |
| Configures and activates the WSPI peripheral. More... | |
| void | wspiStop (WSPIDriver *wspip) |
| Deactivates the WSPI peripheral. More... | |
| void | wspiStartCommand (WSPIDriver *wspip, const wspi_command_t *cmdp) |
| Sends a command without data phase. More... | |
| void | wspiStartSend (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 | wspiStartReceive (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 | wspiCommand (WSPIDriver *wspip, const wspi_command_t *cmdp) |
| Sends a command without data phase. More... | |
| void | wspiSend (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 | wspiReceive (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 | wspiMapFlash (WSPIDriver *wspip, const wspi_command_t *cmdp, uint8_t **addrp) |
| Maps in memory space a WSPI flash device. More... | |
| void | wspiUnmapFlash (WSPIDriver *wspip) |
| Unmaps from memory space a WSPI flash device. More... | |
| void | wspiAcquireBus (WSPIDriver *wspip) |
| Gains exclusive access to the WSPI bus. More... | |
| void | wspiReleaseBus (WSPIDriver *wspip) |
| Releases exclusive access to the WSPI bus. More... | |
WSPI Driver code.
Definition in file hal_wspi.c.