|
Tizen RT Public API
v1.0 D5
|
Iotbus APIs for SPI. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
| struct | iotbus_spi_config_s |
| Structure of SPI configuration. More... | |
Typedefs | |
| typedef struct _iotbus_spi_s * | iotbus_spi_context_h |
| Pointer definition to the internal struct _iotbus_spi_s. More... | |
Enumerations |
Functions | |
| iotbus_spi_context_h | iotbus_spi_open (unsigned int bus, const struct iotbus_spi_config_s *config) |
| initializes spi_context. More... | |
| int | iotbus_spi_write (iotbus_spi_context_h hnd, uint8_t *txbuf, int length) |
| writes data over spi bus. More... | |
| int | iotbus_spi_recv (iotbus_spi_context_h hnd, uint8_t *rxbuf, int length) |
| reads data over spi bus. More... | |
| int | iotbus_spi_transfer_buf (iotbus_spi_context_h hnd, uint8_t *txbuf, uint8_t *rxbuf, int length) |
| transfers rx and tx data over spi bus. More... | |
| int | iotbus_spi_close (iotbus_spi_context_h hnd) |
| closes spi_context. More... | |
Iotbus APIs for SPI.
Definition in file iotbus_spi.h.