nrfx 2.10
Data Fields
nrfx_twim_config_t Struct Reference

Structure for the TWI master driver instance configuration. More...

#include <nrfx_twim.h>

Data Fields

uint32_t scl
 SCL pin number.
 
uint32_t sda
 SDA pin number.
 
nrf_twim_frequency_t frequency
 TWIM frequency.
 
uint8_t interrupt_priority
 Interrupt priority.
 
bool hold_bus_uninit
 Hold pull up state on GPIO pins after uninit.
 
bool skip_gpio_cfg
 Skip GPIO configuration of pins. More...
 
bool skip_psel_cfg
 Skip pin selection configuration. More...
 

Detailed Description

Structure for the TWI master driver instance configuration.

Field Documentation

◆ skip_gpio_cfg

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

◆ skip_psel_cfg

bool nrfx_twim_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