SPI peripheral slave instance structure.
SPI peripheral slave software instance structure, used to configure the correct SPI transfer mode settings for an attached slave. See spi_select_slave.
#include <spi.h>
Data Fields | |
uint8_t | address |
Address of slave device. More... | |
bool | address_enabled |
Address recognition enabled in slave device. More... | |
uint8_t | ss_pin |
Pin to use as slave select. More... | |
uint8_t spi_slave_inst::address |
Address of slave device.
Referenced by spi_attach_slave(), and spi_select_slave().
bool spi_slave_inst::address_enabled |
Address recognition enabled in slave device.
Referenced by spi_attach_slave(), and spi_select_slave().
uint8_t spi_slave_inst::ss_pin |
Pin to use as slave select.
Referenced by spi_attach_slave(), and spi_select_slave().