|
void | sol_spi_close (struct sol_spi *spi) |
| Close an SPI bus. More...
|
|
enum sol_spi_mode | sol_spi_mode_from_str (const char *spi_mode) |
| Converts a string SPI mode name to sol_spi_mode. More...
|
|
const char * | sol_spi_mode_to_str (enum sol_spi_mode spi_mode) |
| Converts sol_spi_mode to a string name. More...
|
|
struct sol_spi * | sol_spi_open (unsigned int bus, const struct sol_spi_config *config) |
| Open an SPI bus. More...
|
|
int | sol_spi_transfer (struct sol_spi *spi, const uint8_t *tx, uint8_t *rx, size_t count, void(*transfer_cb)(void *cb_data, struct sol_spi *spi, const uint8_t *tx, uint8_t *rx, ssize_t status), const void *cb_data) |
| Perform a SPI asynchronous transfer. More...
|
|
These routines are used for SPI access under Soletta.