nrfx 3.3
Data Fields
nrfy_spim_config_t Struct Reference

SPIM configuration structure. More...

#include <nrfy_spim.h>

Data Fields

nrfy_spim_pins_t pins
 Pin configuration structure.
 
uint8_t orc
 Overrun character.
 
nrf_spim_frequency_t frequency
 SPIM frequency.
 
nrf_spim_mode_t mode
 SPIM mode.
 
nrf_spim_bit_order_t bit_order
 SPIM bit order.
 
nrfy_spim_ext_config_t ext_config
 Extended features configuration structure.
 
bool ext_enable
 True if extended features are to be configured, false otherwise.
 
bool skip_psel_cfg
 Skip pin selection configuration.
 

Detailed Description

SPIM configuration structure.

Field Documentation

◆ ext_config

nrfy_spim_ext_config_t nrfy_spim_config_t::ext_config

Extended features configuration structure.

Used only if ext_enable is true.

◆ orc

uint8_t nrfy_spim_config_t::orc

Overrun character.

This character is transmitted when the TX buffer gets exhausted, but the transaction continues due to RX.

◆ skip_psel_cfg

bool nrfy_spim_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.

Note
When both GPIO configuration and pin selection are to be skipped, the structure fields that specify pins can be omitted, as they are ignored anyway.

The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated