no-OS
Public Attributes | List of all members
stm32_spi_desc Struct Reference

stm32 platform specific SPI descriptor More...

#include <stm32_spi.h>

Collaboration diagram for stm32_spi_desc:
Collaboration graph
[legend]

Public Attributes

SPI_HandleTypeDef hspi
 
uint32_t input_clock
 
uint32_t alternate
 
struct no_os_gpio_descchip_select
 
struct no_os_dma_descdma_desc
 
struct no_os_dma_chrxdma_ch
 
struct no_os_dma_chtxdma_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_channelrx_ch_xfer
 
struct stm32_dma_channeltx_ch_xfer
 

Detailed Description

stm32 platform specific SPI descriptor

Member Data Documentation

◆ alternate

uint32_t stm32_spi_desc::alternate

Chip select alternate function

◆ chip_select

struct no_os_gpio_desc* stm32_spi_desc::chip_select

Chip select gpio descriptor

◆ csip

struct no_os_gpio_init_param stm32_spi_desc::csip

◆ csip_extra

struct stm32_gpio_init_param stm32_spi_desc::csip_extra

◆ dma_desc

struct no_os_dma_desc* stm32_spi_desc::dma_desc

DMA Descriptor

◆ hspi

SPI_HandleTypeDef stm32_spi_desc::hspi

SPI instance

◆ input_clock

uint32_t stm32_spi_desc::input_clock

SPI input clock

◆ rx_ch_xfer

struct stm32_dma_channel* stm32_spi_desc::rx_ch_xfer

◆ rxdma_ch

struct no_os_dma_ch* stm32_spi_desc::rxdma_ch

RX DMA Channel Descriptor

◆ stm32_spi_dma_done

bool stm32_spi_desc::stm32_spi_dma_done

◆ stm32_spi_dma_user_cb

void(* stm32_spi_desc::stm32_spi_dma_user_cb) (void *ctx)

◆ stm32_spi_dma_user_ctx

void* stm32_spi_desc::stm32_spi_dma_user_ctx

◆ tx_ch_xfer

struct stm32_dma_channel* stm32_spi_desc::tx_ch_xfer

◆ txdma_ch

struct no_os_dma_ch* stm32_spi_desc::txdma_ch

TX DMA Channel Descriptor


The documentation for this struct was generated from the following file: