nRF51 SDK - S130 SoftDevice
|
Struct containing configuration parameters of the SPI master. More...
#include <spi_5W_master.h>
Data Fields | |
uint32_t | SPI_Freq |
uint32_t | SPI_Pin_SCK |
uint32_t | SPI_Pin_MISO |
uint32_t | SPI_Pin_MOSI |
uint32_t | SPI_Pin_SS |
uint8_t | SPI_ORDER |
uint8_t | SPI_CPOL |
uint8_t | SPI_CPHA |
uint32_t | SPI_PriorityIRQ |
uint8_t | SPI_CONFIG_ORDER |
uint8_t | SPI_CONFIG_CPOL |
uint8_t | SPI_CONFIG_CPHA |
uint8_t | SPI_DisableAllIRQ |
Struct containing configuration parameters of the SPI master.
A structure containing configuration parameters of the SPI master driver.
uint8_t spi_master_config_t::SPI_CONFIG_CPHA |
Serial clock phase LEADING or TRAILING.
uint8_t spi_master_config_t::SPI_CONFIG_CPOL |
Serial clock polarity ACTIVEHIGH or ACTIVELOW.
uint8_t spi_master_config_t::SPI_CONFIG_ORDER |
Bytes order LSB or MSB shifted out first.
uint8_t spi_master_config_t::SPI_CPHA |
Serial clock phase LEADING or TRAILING.
uint8_t spi_master_config_t::SPI_CPOL |
Serial clock polarity ACTIVEHIGH or ACTIVELOW.
uint8_t spi_master_config_t::SPI_DisableAllIRQ |
Disable all IRQs in critical section.
uint32_t spi_master_config_t::SPI_Freq |
SPI frequency.
SPI master frequency
uint8_t spi_master_config_t::SPI_ORDER |
Bytes order MSBFIRST or LSBFIRST.
uint32_t spi_master_config_t::SPI_Pin_MISO |
MISO pin number.
uint32_t spi_master_config_t::SPI_Pin_MOSI |
MOSI pin number .
uint32_t spi_master_config_t::SPI_Pin_SCK |
SCK pin number.
uint32_t spi_master_config_t::SPI_Pin_SS |
Slave select pin number.
uint32_t spi_master_config_t::SPI_PriorityIRQ |
SPI master interrupt priority.