Microchip® Advanced Software Framework

SPI slave configuration structure.

SPI slave configuration structure.

#include <spi.h>

Data Fields

uint8_t address
 Address. More...
 
uint8_t address_mask
 Address mask. More...
 
enum spi_addr_mode address_mode
 Address mode. More...
 
enum spi_frame_format frame_format
 Frame format. More...
 
bool preload_enable
 Preload data to the shift register while SS is high. More...
 

uint8_t spi_slave_config::address

Address.

Referenced by _spi_check_config(), and _spi_set_config().

uint8_t spi_slave_config::address_mask

Address mask.

Referenced by _spi_check_config(), and _spi_set_config().

enum spi_addr_mode spi_slave_config::address_mode

Address mode.

Referenced by _spi_check_config(), and _spi_set_config().

enum spi_frame_format spi_slave_config::frame_format
bool spi_slave_config::preload_enable

Preload data to the shift register while SS is high.

Referenced by _spi_check_config(), _spi_set_config(), configure_spi_slave(), run_spi_init_test(), and setup_transfer_9bit_test().