Synergy Software Package User's Manual
sf_spi_instance_ctrl_t Struct Reference

#include <sf_spi.h>

Data Fields

sf_spi_bus_tp_bus
 Bus using this device (copy from cfg)
 
ioport_port_pin_t chip_select
 Chip select for this device (copy from cfg)
 
ioport_level_t chip_select_level_active
 Polarity of CS, active High or Low (copy from cfg)
 
spi_cfg_t lower_lvl_cfg
 SPI peripheral configuration, use for bus reconfiguration.
 
spi_ctrl_tp_lower_lvl_ctrl
 SPI peripheral control block.
 
sf_spi_dev_state_t dev_state
 Device status.
 
bool locked
 Lock and unlock bus for a device.
 

Detailed Description

SPI device context. DO NOT INITIALIZE. Initialization occurs when sf_spi_api_t::open is called.


The documentation for this struct was generated from the following file: