no-OS
|
stm32 platform specific SPI descriptor More...
#include <stm32_spi.h>
Public Attributes | |
SPI_HandleTypeDef | hspi |
uint32_t | input_clock |
uint32_t | alternate |
struct no_os_gpio_desc * | chip_select |
struct no_os_dma_desc * | dma_desc |
struct no_os_dma_ch * | rxdma_ch |
struct no_os_dma_ch * | txdma_ch |
struct stm32_gpio_init_param | csip_extra |
struct no_os_gpio_init_param | csip |
bool | stm32_spi_dma_done |
void(* | stm32_spi_dma_user_cb )(void *ctx) |
void * | stm32_spi_dma_user_ctx |
struct stm32_dma_channel * | rx_ch_xfer |
struct stm32_dma_channel * | tx_ch_xfer |
stm32 platform specific SPI descriptor
uint32_t stm32_spi_desc::alternate |
Chip select alternate function
struct no_os_gpio_desc* stm32_spi_desc::chip_select |
Chip select gpio descriptor
struct no_os_gpio_init_param stm32_spi_desc::csip |
struct stm32_gpio_init_param stm32_spi_desc::csip_extra |
struct no_os_dma_desc* stm32_spi_desc::dma_desc |
DMA Descriptor
SPI_HandleTypeDef stm32_spi_desc::hspi |
SPI instance
uint32_t stm32_spi_desc::input_clock |
SPI input clock
struct stm32_dma_channel* stm32_spi_desc::rx_ch_xfer |
struct no_os_dma_ch* stm32_spi_desc::rxdma_ch |
RX DMA Channel Descriptor
bool stm32_spi_desc::stm32_spi_dma_done |
void(* stm32_spi_desc::stm32_spi_dma_user_cb) (void *ctx) |
void* stm32_spi_desc::stm32_spi_dma_user_ctx |
struct stm32_dma_channel* stm32_spi_desc::tx_ch_xfer |
struct no_os_dma_ch* stm32_spi_desc::txdma_ch |
TX DMA Channel Descriptor