Structure for the configuration of the TWI master driver instance. More...
#include <nrfx_twi.h>
Data Fields | |
uint32_t | scl |
SCL pin number. | |
uint32_t | sda |
SDA pin number. | |
nrf_twi_frequency_t | frequency |
TWI 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. | |
bool | skip_psel_cfg |
Skip pin selection configuration. | |
Structure for the configuration of the TWI master driver instance.
bool nrfx_twi_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_twi_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.