nRF51 SDK - S120 SoftDevice
|
SPI peripheral device configuration data. More...
#include <spi_slave.h>
Data Fields | |
uint32_t | pin_miso |
uint32_t | pin_mosi |
uint32_t | pin_sck |
uint32_t | pin_csn |
spi_slave_mode_t | mode |
spi_slave_endian_t | bit_order |
uint8_t | def_tx_character |
uint8_t | orc_tx_character |
SPI peripheral device configuration data.
spi_slave_endian_t spi_slave_config_t::bit_order |
SPI transaction bit order.
uint8_t spi_slave_config_t::def_tx_character |
Device configuration mode default character (DEF). Character clocked out in case of an ignored transaction.
spi_slave_mode_t spi_slave_config_t::mode |
SPI mode.
uint8_t spi_slave_config_t::orc_tx_character |
Device configuration mode over-read character. Character clocked out after an over-read of the transmit buffer.
uint32_t spi_slave_config_t::pin_csn |
SPI CSN pin.
uint32_t spi_slave_config_t::pin_miso |
SPI MISO pin.
uint32_t spi_slave_config_t::pin_mosi |
SPI MOSI pin.
uint32_t spi_slave_config_t::pin_sck |
SPI SCK pin.