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. | |
SPIM configuration structure.
nrfy_spim_ext_config_t nrfy_spim_config_t::ext_config |
Extended features configuration structure.
Used only if ext_enable
is true.
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.
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.