/* Configure pin. 
Function configures selected for work as SDA or SCL.  */
static void nrf_drv_twis_config_pin(uint32_t pin)
/* Configure pin. 
Function configures selected for work as SDA or SCL.  */
static void nrf_drv_twis_config_pin(uint32_t pin)
{
    nrf_gpio_cfg(pin,
                 NRF_GPIO_PIN_DIR_INPUT,
                 NRF_GPIO_PIN_INPUT_DISCONNECT,
                 NRF_GPIO_PIN_NOPULL,
                 NRF_GPIO_PIN_S0D1,
                 NRF_GPIO_PIN_NOSENSE);
}