27 #if (HAL_USE_WSPI == TRUE) || defined(__DOXYGEN__) 38 #if (PLATFORM_WSPI_USE_WSPI1 == TRUE) || defined(__DOXYGEN__) 65 #if PLATFORM_WSPI_USE_WSPI1 81 #if PLATFORM_WSPI_USE_WSPI1 82 if (&WSPID1 == wspip) {
107 #if PLATFORM_WSPI_USE_WSPI1 108 if (&WSPID1 == wspip) {
141 size_t n,
const uint8_t *txbuf) {
161 size_t n, uint8_t *rxbuf) {
169 #if (WSPI_SUPPORTS_MEMMAP == TRUE) || defined(__DOXYGEN__) 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 wspiObjectInit(WSPIDriver *wspip)
Initializes the standard part of a WSPIDriver structure.
wspistate_t state
Driver state.
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.