Lines Matching full:sense
538 nrf_gpiote_event_configure((uint32_t)channel, pin, p_config->sense); in nrfx_gpiote_in_init()
543 GPIOTE_CH_NUM] |= (p_config->sense) << SENSE_FIELD_POS; in nrfx_gpiote_in_init()
566 nrf_gpio_pin_sense_t sense; in nrfx_gpiote_in_event_enable() local
569 /* read current pin state and set for next sense to oposit */ in nrfx_gpiote_in_event_enable()
570 sense = (nrf_gpio_pin_read(pin)) ? in nrfx_gpiote_in_event_enable()
575 sense = (polarity == NRF_GPIOTE_POLARITY_LOTOHI) ? in nrfx_gpiote_in_event_enable()
578 nrf_gpio_cfg_sense_set(pin, sense); in nrfx_gpiote_in_event_enable()
751 nrf_gpio_pin_sense_t sense = nrf_gpio_pin_sense_get(pin); in nrfx_gpiote_irq_handler() local
753 if ((pin_state && (sense == NRF_GPIO_PIN_SENSE_HIGH)) || in nrfx_gpiote_irq_handler()
754 (!pin_state && (sense == NRF_GPIO_PIN_SENSE_LOW)) ) in nrfx_gpiote_irq_handler()
760 (sense == NRF_GPIO_PIN_SENSE_HIGH) ? in nrfx_gpiote_irq_handler()
779 // it's sense mode is inverted to clear the internal SENSE signal. in nrfx_gpiote_irq_handler()
781 … // explicitly, because it does not trigger the interrput when SENSE signal is active. in nrfx_gpiote_irq_handler()
782 // For more information about SENSE functionality, refer to Product Specification. in nrfx_gpiote_irq_handler()