|
libwebsockets
Lightweight C library for HTML5 websockets
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | lws_bb_spi |
Macros | |
| #define | LWSBBSPI_FLAG_USE_NCMD3 (1 << 7) |
| #define | LWSBBSPI_FLAG_USE_NCMD2 (1 << 6) |
| #define | LWSBBSPI_FLAG_USE_NCMD1 (1 << 5) |
| #define | LWSBBSPI_FLAG_USE_NCMD0 (1 << 4) |
| #define | LWSBBSPI_FLAG_USE_NCS3 (1 << 3) |
| #define | LWSBBSPI_FLAG_USE_NCS2 (1 << 2) |
| #define | LWSBBSPI_FLAG_USE_NCS1 (1 << 1) |
| #define | LWSBBSPI_FLAG_USE_NCS0 (1 << 0) |
| #define | LWS_SPI_BB_MAX_CH 4 |
| #define | lws_bb_spi_ops |
Typedefs | |
| typedef struct lws_bb_spi | lws_bb_spi_t |
Functions | |
| int | lws_bb_spi_init (const lws_spi_ops_t *octx) |
| int | lws_bb_spi_queue (const lws_spi_ops_t *octx, const lws_spi_desc_t *desc) |
| struct lws_bb_spi |
Definition at line 39 of file lws-bb-spi.h.
Collaboration diagram for lws_bb_spi:| Data Fields | ||
|---|---|---|
| lws_spi_ops_t | bb_ops | |
| const lws_gpio_ops_t * | gpio | |
| _lws_plat_gpio_t | clk | |
| _lws_plat_gpio_t | ncs[LWS_SPI_BB_MAX_CH] | |
| _lws_plat_gpio_t | ncmd[LWS_SPI_BB_MAX_CH] | |
| _lws_plat_gpio_t | mosi | |
| _lws_plat_gpio_t | miso | |
| uint8_t | unit | |
| uint8_t | flags | |
| #define LWSBBSPI_FLAG_USE_NCMD3 (1 << 7) |
Definition at line 28 of file lws-bb-spi.h.
| #define LWSBBSPI_FLAG_USE_NCMD2 (1 << 6) |
Definition at line 29 of file lws-bb-spi.h.
| #define LWSBBSPI_FLAG_USE_NCMD1 (1 << 5) |
Definition at line 30 of file lws-bb-spi.h.
| #define LWSBBSPI_FLAG_USE_NCMD0 (1 << 4) |
Definition at line 31 of file lws-bb-spi.h.
| #define LWSBBSPI_FLAG_USE_NCS3 (1 << 3) |
Definition at line 32 of file lws-bb-spi.h.
| #define LWSBBSPI_FLAG_USE_NCS2 (1 << 2) |
Definition at line 33 of file lws-bb-spi.h.
| #define LWSBBSPI_FLAG_USE_NCS1 (1 << 1) |
Definition at line 34 of file lws-bb-spi.h.
| #define LWSBBSPI_FLAG_USE_NCS0 (1 << 0) |
Definition at line 35 of file lws-bb-spi.h.
| #define LWS_SPI_BB_MAX_CH 4 |
Definition at line 37 of file lws-bb-spi.h.
| #define lws_bb_spi_ops |
Definition at line 56 of file lws-bb-spi.h.
| typedef struct lws_bb_spi lws_bb_spi_t |
| int lws_bb_spi_init | ( | const lws_spi_ops_t * | octx | ) |
| int lws_bb_spi_queue | ( | const lws_spi_ops_t * | octx, |
| const lws_spi_desc_t * | desc ) |