#include <wiced_platform.h>
Data Fields | |
| uint8_t | bits |
| wiced_gpio_t | chip_select |
| uint8_t | mode |
| wiced_spi_t | port |
| uint32_t | speed |
Specifies details of an external SPI slave device which is connected to the WICED system
| uint8_t wiced_spi_device_t::bits |
Number of data bits - usually 8, 16 or 32
| wiced_gpio_t wiced_spi_device_t::chip_select |
Which hardware pin to use for Chip Select of the SPI device being specified
| uint8_t wiced_spi_device_t::mode |
Mode of operation for SPI port See WICED/platform/include/platform_peripheral.h SPI mode constants
| wiced_spi_t wiced_spi_device_t::port |
Which SPI peripheral of the platform to use for the SPI device being specified
| uint32_t wiced_spi_device_t::speed |
SPI device access speed in Hertz