Microchip® Advanced Software Framework

spi_slave_inst_config Struct Reference

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