![]() |
Synergy Software Package User's Manual
|
#include <sf_spi.h>
Data Fields | |
| sf_spi_bus_t * | p_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_t * | p_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. | |
SPI device context. DO NOT INITIALIZE. Initialization occurs when sf_spi_api_t::open is called.