Structure for TWIS configuration. More...
#include <nrfx_twis.h>
Data Fields | |
uint32_t | addr [2] |
Set addresses that this slave should respond. Set 0 to disable. | |
uint32_t | scl_pin |
SCL pin number. | |
uint32_t | sda_pin |
SDA pin number. | |
nrf_gpio_pin_pull_t | scl_pull |
SCL pin pull. | |
nrf_gpio_pin_pull_t | sda_pull |
SDA pin pull. | |
uint8_t | interrupt_priority |
The priority of interrupt for the module to be set. | |
bool | skip_gpio_cfg |
Skip GPIO configuration of pins. | |
bool | skip_psel_cfg |
Skip pin selection configuration. | |
Structure for TWIS configuration.
bool nrfx_twis_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_twis_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.