Searched refs:idx (Results 1 – 1 of 1) sorted by relevance
93 void nrf_gpiote_event_enable(NRF_GPIOTE_Type * p_reg, uint32_t idx) in nrf_gpiote_event_enable() argument95 p_reg->CONFIG[idx] |= GPIOTE_CONFIG_MODE_Event; in nrf_gpiote_event_enable()96 nrf_gpiote_regw_sideeffects_CONFIG(idx); in nrf_gpiote_event_enable()99 void nrf_gpiote_event_disable(NRF_GPIOTE_Type * p_reg, uint32_t idx) in nrf_gpiote_event_disable() argument101 p_reg->CONFIG[idx] &= ~GPIOTE_CONFIG_MODE_Msk; in nrf_gpiote_event_disable()102 nrf_gpiote_regw_sideeffects_CONFIG(idx); in nrf_gpiote_event_disable()106 uint32_t idx, in nrf_gpiote_event_configure() argument110 p_reg->CONFIG[idx] &= ~(GPIOTE_CONFIG_PORT_PIN_Msk | GPIOTE_CONFIG_POLARITY_Msk); in nrf_gpiote_event_configure()111 p_reg->CONFIG[idx] |= ((pin << GPIOTE_CONFIG_PSEL_Pos) & GPIOTE_CONFIG_PORT_PIN_Msk) | in nrf_gpiote_event_configure()113 nrf_gpiote_regw_sideeffects_CONFIG(idx); in nrf_gpiote_event_configure()[all …]