Lines Matching refs:sense
544 nrf_gpiote_event_configure(NRF_GPIOTE, (uint32_t)channel, pin, p_config->sense); in nrfx_gpiote_in_init()
548 m_cb.port_handlers_pins[channel - GPIOTE_CH_NUM] |= (p_config->sense) << in nrfx_gpiote_in_init()
570 nrf_gpio_pin_sense_t sense; in nrfx_gpiote_in_event_enable() local
574 sense = (nrf_gpio_pin_read(pin)) ? in nrfx_gpiote_in_event_enable()
579 sense = (polarity == NRF_GPIOTE_POLARITY_LOTOHI) ? in nrfx_gpiote_in_event_enable()
582 nrf_gpio_cfg_sense_set(pin, sense); in nrfx_gpiote_in_event_enable()
701 nrf_gpio_pin_sense_t sense = nrf_gpio_pin_sense_get(pin); in port_event_handle() local
709 (sense == NRF_GPIO_PIN_SENSE_HIGH) ? NRF_GPIO_PIN_SENSE_LOW : in port_event_handle()
725 (sense == NRF_GPIO_PIN_SENSE_HIGH && polarity == NRF_GPIOTE_POLARITY_LOTOHI) || in port_event_handle()
726 (sense == NRF_GPIO_PIN_SENSE_LOW && polarity == NRF_GPIOTE_POLARITY_HITOLO))) in port_event_handle()
786 nrf_gpio_pin_sense_t sense = nrf_gpio_pin_sense_get(pin); in port_event_handle() local
790 if ((pin_state && (sense == NRF_GPIO_PIN_SENSE_HIGH)) || in port_event_handle()
791 (!pin_state && (sense == NRF_GPIO_PIN_SENSE_LOW)) ) in port_event_handle()
798 (sense == NRF_GPIO_PIN_SENSE_HIGH) ? NRF_GPIO_PIN_SENSE_LOW : in port_event_handle()
808 (sense == NRF_GPIO_PIN_SENSE_HIGH && in port_event_handle()
810 (sense == NRF_GPIO_PIN_SENSE_LOW && in port_event_handle()