Generic SPI abstraction for polled operation. More...
#include <assert.h>#include <bitops.h>#include <spi.h>Go to the source code of this file.
Functions | |
| void | spi_polled_start (struct spi_master *spim, uint8_t tx_byte, size_t residue) |
| Start polled SPI transfer. | |
| void | spi_polled_write (struct spi_master *spim, const uint8_t *data, size_t len) |
| void | spi_polled_read (struct spi_master *spim, uint8_t *data, size_t len) |
| void | spi_polled_exchange (struct spi_master *spim, const uint8_t *write, uint8_t *read, size_t len) |
| void | spi_polled_master_init (struct spi_master *spim, workqueue_func_t poll, spi_start_func_t start) |
| Initialize polled SPI master struct. | |
Generic SPI abstraction for polled operation.
Copyright (C) 2009 Atmel Corporation. All rights reserved.
Definition in file spi_polled.c.
1.6.3