|
libwebsockets
Lightweight C library for HTML5 websockets
|
#include <stdint.h>#include <stddef.h>Go to the source code of this file.
Data Structures | |
| struct | lws_spi_desc |
| struct | lws_spi_ops |
Typedefs | |
| typedef int(* | lws_spi_cb_t) (void *opaque) |
| typedef struct lws_spi_desc | lws_spi_desc_t |
| typedef struct lws_spi_ops | lws_spi_ops_t |
Enumerations | |
| enum | { LWSSPIMODE_CPOL = (1 << 0) , LWSSPIMODE_CPHA = (1 << 1) , LWS_SPI_BUSMODE_CLK_IDLE_LOW_SAMP_RISING = 0 , LWS_SPI_BUSMODE_CLK_IDLE_HIGH_SAMP_RISING = LWSSPIMODE_CPOL , LWS_SPI_BUSMODE_CLK_IDLE_LOW_SAMP_FALLING = LWSSPIMODE_CPHA , LWS_SPI_BUSMODE_CLK_IDLE_HIGH_SAMP_FALLING , LWS_SPI_TXN_HALF_DUPLEX_DISCRETE = 0 , LWS_SPI_FLAG_DATA_CONTINUE = (1 << 0) , LWS_SPI_FLAG_DC_CMD_IS_HIGH = (1 << 1) , LWS_SPI_FLAG_DMA_BOUNCE_NOT_NEEDED = (1 << 2) } |
Functions | |
| LWS_VISIBLE LWS_EXTERN int | lws_spi_table_issue (const lws_spi_ops_t *spi_ops, uint32_t flags, const uint8_t *p, size_t len) |
| LWS_VISIBLE LWS_EXTERN int | lws_spi_readback (const lws_spi_ops_t *spi_ops, uint32_t flags, const uint8_t *p, size_t len, uint8_t *rb, size_t rb_len) |
| struct lws_spi_desc |
| typedef struct lws_spi_desc lws_spi_desc_t |
| typedef struct lws_spi_ops lws_spi_ops_t |
| anonymous enum |
Definition at line 39 of file lws-spi.h.
| LWS_VISIBLE LWS_EXTERN int lws_spi_table_issue | ( | const lws_spi_ops_t * | spi_ops, |
| uint32_t | flags, | ||
| const uint8_t * | p, | ||
| size_t | len ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_spi_readback | ( | const lws_spi_ops_t * | spi_ops, |
| uint32_t | flags, | ||
| const uint8_t * | p, | ||
| size_t | len, | ||
| uint8_t * | rb, | ||
| size_t | rb_len ) |