libwebsockets
Lightweight C library for HTML5 websockets
lws_spi_ops Struct Reference

#include <lws-spi.h>

+ Collaboration diagram for lws_spi_ops:

Data Fields

int(* init )(const struct lws_spi_ops *ctx)
 
int(* queue )(const struct lws_spi_ops *ctx, const lws_spi_desc_t *desc)
 
void *(* alloc_dma )(const struct lws_spi_ops *ctx, size_t size)
 
void(* free_dma )(const struct lws_spi_ops *ctx, void **p)
 
int(* in_flight )(const struct lws_spi_ops *ctx)
 
uint32_t spi_clk_hz
 
uint8_t bus_mode
 

Detailed Description

Definition at line 76 of file lws-spi.h.

Field Documentation

◆ init

int(* lws_spi_ops::init) (const struct lws_spi_ops *ctx)

Definition at line 77 of file lws-spi.h.

◆ queue

int(* lws_spi_ops::queue) (const struct lws_spi_ops *ctx, const lws_spi_desc_t *desc)

Definition at line 78 of file lws-spi.h.

◆ alloc_dma

void*(* lws_spi_ops::alloc_dma) (const struct lws_spi_ops *ctx, size_t size)

Definition at line 79 of file lws-spi.h.

◆ free_dma

void(* lws_spi_ops::free_dma) (const struct lws_spi_ops *ctx, void **p)

Definition at line 80 of file lws-spi.h.

◆ in_flight

int(* lws_spi_ops::in_flight) (const struct lws_spi_ops *ctx)

Definition at line 81 of file lws-spi.h.

◆ spi_clk_hz

uint32_t lws_spi_ops::spi_clk_hz

Definition at line 82 of file lws-spi.h.

◆ bus_mode

uint8_t lws_spi_ops::bus_mode

Definition at line 83 of file lws-spi.h.


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