|
Adafruit Library
|
#include "Adafruit_seesaw.h"Go to the source code of this file.
Classes | |
| class | seesaw_SPI |
Enumerations | |
| enum | { SEESAW_SPI_STATUS = 0x00, SEESAW_SPI_CONFIG = 0x01, SEESAW_SPI_TRANSFER = 0x02, SEESAW_SPI_READ = 0x03, SEESAW_SPI_ABORT = 0x04, SEESAW_SPI_CLOCK = 0x05 } |
| enum | { SEESAW_SPI_BEGIN = 0x01, SEESAW_SPI_END = 0x02, SEESAW_SPI_DISCARD_RX = 0x04 } |
| enum | { SEESAW_SPI_BUSY = 0x01, SEESAW_SPI_READY = 0x02, SEESAW_SPI_SELECTED = 0x04, SEESAW_SPI_RX_READY = 0x08, SEESAW_SPI_ERROR = 0x80 } |
| enum | { SEESAW_SPI_OK = 0, SEESAW_SPI_BAD_CONFIG = 1, SEESAW_SPI_BAD_STATE = 2, SEESAW_SPI_QUEUE_OVERFLOW = 3, SEESAW_SPI_UNREAD_DATA = 4, SEESAW_SPI_TRANSFER_FAILED = 5, SEESAW_SPI_INVALID_COMMAND = 6, SEESAW_SPI_PIN_CONFLICT = 7, SEESAW_SPI_HOST_PROTOCOL = 0xFD, SEESAW_SPI_HOST_TIMEOUT = 0xFE, SEESAW_SPI_HOST_IO = 0xFF } |
Variables | |
| const uint16_t | SEESAW_SPI_TIMEOUT_MS |
| Per-command completion deadline. More... | |
| const uint8_t | SEESAW_SPI_CHUNK_SIZE |
| Payload fitting a classic Wire packet. More... | |
Experimental seesaw SPI-controller bridge for chunked I2C transfers.
| anonymous enum |
SPI controller registers.
| anonymous enum |
| anonymous enum |
| anonymous enum |
SPI errors, including host-side transport failures.
| const uint16_t SEESAW_SPI_TIMEOUT_MS |
Per-command completion deadline.
| const uint8_t SEESAW_SPI_CHUNK_SIZE |
Payload fitting a classic Wire packet.
1.8.13