SPI peripheral slave configuration structure.
SPI Peripheral slave configuration structure.
#include <spi.h>
Data Fields | |
uint8_t | address |
Address of slave. More... | |
bool | address_enabled |
Enable address. More... | |
uint8_t | ss_pin |
Pin to use as slave select. More... | |
uint8_t spi_slave_inst_config::address |
Address of slave.
Referenced by spi_attach_slave(), and spi_slave_inst_get_config_defaults().
bool spi_slave_inst_config::address_enabled |
Enable address.
Referenced by spi_attach_slave(), and spi_slave_inst_get_config_defaults().
uint8_t spi_slave_inst_config::ss_pin |
Pin to use as slave select.
Referenced by adp_interface_init(), configure_spi_master(), ksz8851snl_interface_init(), nm_bus_init(), run_spi_init_test(), spi_attach_slave(), spi_slave_inst_get_config_defaults(), and ssd1306_interface_init().