SPI peripheral device configuration data. More...
#include <nrfx_spis.h>
Data Fields | |
uint32_t | miso_pin |
SPI MISO pin (optional). | |
uint32_t | mosi_pin |
SPI MOSI pin (optional). | |
uint32_t | sck_pin |
SPI SCK pin. | |
uint32_t | csn_pin |
SPI CSN pin. | |
nrf_spis_mode_t | mode |
SPI mode. | |
nrf_spis_bit_order_t | bit_order |
SPI transaction bit order. | |
nrf_gpio_pin_pull_t | csn_pullup |
CSN pin pull-up configuration. | |
nrf_gpio_pin_drive_t | miso_drive |
MISO pin drive configuration. | |
uint8_t | def |
Character clocked out in case of an ignored transaction. | |
uint8_t | orc |
Character clocked out after an over-read of the transmit buffer. | |
uint8_t | irq_priority |
Interrupt priority. | |
bool | skip_gpio_cfg |
Skip GPIO configuration of pins. | |
bool | skip_psel_cfg |
Skip pin selection configuration. | |
SPI peripheral device configuration data.
uint32_t nrfx_spis_config_t::miso_pin |
SPI MISO pin (optional).
Set NRF_SPIS_PIN_NOT_CONNECTED if this signal is not needed.
uint32_t nrfx_spis_config_t::mosi_pin |
SPI MOSI pin (optional).
Set NRF_SPIS_PIN_NOT_CONNECTED if this signal is not needed.
bool nrfx_spis_config_t::skip_gpio_cfg |
Skip GPIO configuration of pins.
When set to true, the driver does not modify any GPIO parameters of the used pins. Those parameters are supposed to be configured externally before the driver is initialized.
bool nrfx_spis_config_t::skip_psel_cfg |
Skip pin selection configuration.
When set to true, the driver does not modify pin select registers in the peripheral. Those registers are supposed to be set up externally before the driver is initialized.