@ NO_OS_SPI_QUAD_LANE
Definition: no_os_spi.h:91
uint32_t cs_high_time
Definition: stm32_xspi.h:87
uint32_t timeout
Definition: ad413x.c:49
void(* stm32_xspi_dma_user_cb)(void *ctx)
Definition: stm32_xspi.h:119
Platform independent function definitions and data types for the DMA API.
uint32_t device_id
Definition: no_os_spi.h:196
#define NO_OS_SPI_CPOL
Definition: no_os_spi.h:48
Header file of SPI Interface.
Initialization parameter for the DMA controller.
Definition: no_os_dma.h:171
uint32_t id
Definition: no_os_dma.h:109
Header file of IRQ interface.
struct no_os_dma_ch * dma_ch
Definition: stm32_xspi.h:115
Definition: no_os_spi.h:100
stm32 platform specific XSPI descriptor.
Definition: stm32_xspi.h:99
uint32_t irq_num
Definition: no_os_dma.h:115
Header file of Delay functions.
@ DEV_TO_MEM
Definition: no_os_dma.h:52
uint32_t Address
Definition: stm32_xspi.h:53
enum no_os_spi_mode mode
Definition: no_os_spi.h:148
uint32_t fifo_threshold
Definition: stm32_xspi.h:83
uint32_t AddressMode
Definition: stm32_xspi.h:55
uint32_t InstructionMode
Definition: stm32_xspi.h:49
uint32_t Instruction
Definition: stm32_xspi.h:47
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
@ NO_OS_SPI_OCTO_LANE
Definition: no_os_spi.h:93
const struct no_os_spi_platform_ops * platform_ops
Definition: no_os_spi.h:154
uint32_t cs_high_time
Definition: stm32_xspi.h:111
DMA_HandleTypeDef * hdma
Definition: stm32_dma.h:66
int no_os_dma_config_xfer(struct no_os_dma_desc *, struct no_os_dma_xfer_desc *, uint32_t, struct no_os_dma_ch *)
Acquire a channel and configure the list of transfers.
Definition: no_os_dma.c:242
uint8_t * tx_buff
Definition: no_os_spi.h:102
uint32_t device_id
Definition: no_os_spi.h:142
struct no_os_dma_xfer_desc * dma_ch_xfer
Definition: stm32_xspi.h:123
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
uint32_t InstructionWidth
Definition: stm32_xspi.h:51
uint32_t(* get_input_clock)(void)
Definition: stm32_xspi.h:81
uint32_t irq_num
Definition: stm32_xspi.h:92
uint32_t AlternateBytes
Definition: stm32_xspi.h:59
XSPI_HandleTypeDef hxspi
Definition: stm32_xspi.h:101
struct no_os_dma_init_param * dma_init
Definition: stm32_xspi.h:89
Describes the state of a DMA channel.
Definition: no_os_dma.h:107
uint32_t DataLength
Definition: stm32_xspi.h:67
uint8_t * rx_buff
Definition: no_os_spi.h:104
uint8_t * dst
Definition: no_os_dma.h:75
STM32 DMA Channels.
Definition: stm32_dma.h:64
enum no_os_spi_lanes lanes
Definition: no_os_spi.h:152
@ NO_OS_SPI_SINGLE_LANE
Definition: no_os_spi.h:87
struct no_os_dma_platform_ops * platform_ops
Definition: no_os_dma.h:144
bool stm32_xspi_dma_done
Definition: stm32_xspi.h:117
Header file for the stm32 xspi driver.
Structure holding SPI descriptor.
Definition: no_os_spi.h:192
Structure holding the initialization parameters for stm32 platform. specific XSPI parameters.
Definition: stm32_xspi.h:77
It's used to setup a generic DMA transfer.
Definition: no_os_dma.h:71
void * xfer_complete_ctx
Definition: no_os_dma.h:89
void(* xfer_complete_cb)(struct no_os_dma_xfer_desc *, struct no_os_dma_xfer_desc *, void *)
Definition: no_os_dma.h:82
int no_os_dma_init(struct no_os_dma_desc **, struct no_os_dma_init_param *)
Initialize the DMA controller.
Definition: no_os_dma.c:90
int no_os_dma_xfer_start(struct no_os_dma_desc *, struct no_os_dma_ch *)
Acquire a channel and configure the list of transfers.
Definition: no_os_dma.c:356
uint32_t bytes_number
Definition: no_os_spi.h:106
void * extra
Definition: no_os_spi.h:212
uint32_t input_clock
Definition: stm32_xspi.h:105
uint32_t AlternateBytesWidth
Definition: stm32_xspi.h:63
uint32_t max_speed_hz
Definition: no_os_spi.h:144
uint32_t DataMode
Definition: stm32_xspi.h:65
Header file for stm32 gpio specifics.
enum no_os_dma_xfer_type xfer_type
Definition: no_os_dma.h:79
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
void * command
Definition: stm32_xspi.h:103
int no_os_dma_remove(struct no_os_dma_desc *)
Remove resources allocated for the DMA controller.
Definition: no_os_dma.c:143
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:114
#define NULL
Definition: wrapper.h:64
uint8_t * src
Definition: no_os_dma.h:73
void * stm32_xspi_dma_user_ctx
Definition: stm32_xspi.h:121
bool sample_shifting
Definition: stm32_xspi.h:85
struct no_os_dma_desc * dma_desc
Definition: stm32_xspi.h:113
void * extra
Definition: no_os_dma.h:120
int no_os_dma_xfer_abort(struct no_os_dma_desc *, struct no_os_dma_ch *)
Abort the ongoing and any other future transfers scheduled for a channel.
Definition: no_os_dma.c:384
const struct no_os_spi_platform_ops * platform_ops
Definition: no_os_spi.h:208
uint32_t AlternateBytesMode
Definition: stm32_xspi.h:61
@ MEM_TO_DEV
Definition: no_os_dma.h:51
uint32_t max_speed_hz
Definition: no_os_spi.h:198
uint32_t AddressWidth
Definition: stm32_xspi.h:57
bool sample_shifting
Definition: stm32_xspi.h:109
struct no_os_dma_ch * channels
Definition: no_os_dma.h:142
Structure holding the stm32 platform specific XSPI command parameters.
Definition: stm32_xspi.h:45
const struct no_os_spi_platform_ops stm32_xspi_ops
stm32 platform specific XSPI platform ops structure
Definition: stm32_xspi.c:714
struct stm32_dma_channel * dma_ch
Definition: stm32_xspi.h:91
void * extra
Definition: no_os_spi.h:158
uint32_t fifo_threshold
Definition: stm32_xspi.h:107
uint32_t DummyCycles
Definition: stm32_xspi.h:69
const struct no_os_spi_platform_ops stm32_xspi_ops
stm32 specific XSPI platform ops structure
Definition: stm32_xspi.c:714
uint32_t length
Definition: no_os_dma.h:77
struct stm32_xspi_command * cmd
Definition: stm32_xspi.h:79
Error macro definition for ARM Compiler.
@ NO_OS_DMA_IRQ
Definition: no_os_irq.h:92
Platform independent function definitions and data types for the DMA API.
@ NO_OS_SPI_DUAL_LANE
Definition: no_os_spi.h:89
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
enum no_os_irq_peripheral periph
Definition: no_os_dma.h:97
Describes the state of the DMA controller.
Definition: no_os_dma.h:136