SPI handle Structure definition.
More...
#include <hal_spi.h>
SPI handle Structure definition.
Definition at line 191 of file hal_spi.h.
◆ error_code
__IO uint32_t _spi_handle::error_code |
◆ init
SPI communication parameters
Definition at line 195 of file hal_spi.h.
◆ p_dmarx
SPI Rx DMA Handle parameters
Definition at line 219 of file hal_spi.h.
◆ p_dmatx
SPI Tx DMA Handle parameters
Definition at line 217 of file hal_spi.h.
◆ p_instance
spi_regs_t* _spi_handle::p_instance |
SPI registers base address
Definition at line 193 of file hal_spi.h.
◆ p_rx_buffer
uint8_t* _spi_handle::p_rx_buffer |
Pointer to SPI Rx transfer Buffer
Definition at line 205 of file hal_spi.h.
◆ p_tx_buffer
uint8_t* _spi_handle::p_tx_buffer |
Pointer to SPI Tx transfer Buffer
Definition at line 199 of file hal_spi.h.
◆ read_fifo
void(* _spi_handle::read_fifo) (struct _spi_handle *p_spi) |
Pointer to SPI Rx transfer FIFO read function
Definition at line 213 of file hal_spi.h.
◆ read_write_fifo
void(* _spi_handle::read_write_fifo) (struct _spi_handle *p_spi) |
Pointer to SPI transfer FIFO read and write function
Definition at line 215 of file hal_spi.h.
◆ retention
uint32_t _spi_handle::retention[9] |
SPI important register information.
Definition at line 227 of file hal_spi.h.
◆ rx_xfer_count
__IO uint32_t _spi_handle::rx_xfer_count |
SPI Rx Transfer Counter
Definition at line 209 of file hal_spi.h.
◆ rx_xfer_size
__IO uint32_t _spi_handle::rx_xfer_size |
SPI Rx Transfer size
Definition at line 207 of file hal_spi.h.
◆ soft_cs_magic
__IO uint32_t _spi_handle::soft_cs_magic |
◆ state
SPI communication state
Definition at line 221 of file hal_spi.h.
◆ timeout
uint32_t _spi_handle::timeout |
Timeout for the SPI memory access
Definition at line 225 of file hal_spi.h.
◆ tx_xfer_count
__IO uint32_t _spi_handle::tx_xfer_count |
SPI Tx Transfer Counter
Definition at line 203 of file hal_spi.h.
◆ tx_xfer_size
__IO uint32_t _spi_handle::tx_xfer_size |
SPI Tx Transfer size
Definition at line 201 of file hal_spi.h.
◆ write_fifo
void(* _spi_handle::write_fifo) (struct _spi_handle *p_spi) |
Pointer to SPI Tx transfer FIFO write function
Definition at line 211 of file hal_spi.h.
The documentation for this struct was generated from the following file: